Class ContrastResult
java.lang.Object
ubic.gemma.model.analysis.expression.diff.ContrastResult
- All Implemented Interfaces:
Identifiable
Represents a contrast between "conditions". In practice, this is the comparison between a factor level and the
baseline; for interactions it is the difference of comparisons.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
getTstat()
void
setCoefficient
(Double coefficient) void
setFactorValue
(FactorValue factorValue) void
void
setLogFoldChange
(Double logFoldChange) void
void
setSecondFactorValue
(FactorValue secondFactorValue) void
toString()
-
Constructor Details
-
ContrastResult
public ContrastResult()
-
-
Method Details
-
getCoefficient
- Returns:
- The estimated value from the fit
-
setCoefficient
-
getFactorValue
- Returns:
- The factorValue for the group of samples that is being compared to baseline. The baseline itself is a property of the ResultSet. For factors that have continuous values, this will be null.
-
setFactorValue
-
getId
- Specified by:
getId
in interfaceIdentifiable
-
setId
-
getLogFoldChange
- Returns:
- The fold change relative to the baseline, based on the fitted values. log2-transformed. This will be the same as the coefficient if the data were log transformed when analyzed. This might be null if it wasn't computed.
-
setLogFoldChange
-
getPvalue
-
setPvalue
-
getSecondFactorValue
-
setSecondFactorValue
-
getTstat
- Returns:
- Serves as the effect size as well as an indicator of the direction of change relative to the baseline
-
setTstat
-
equals
-
toString
-