Class ContrastResult
- java.lang.Object
-
- ubic.gemma.model.analysis.expression.diff.ContrastResult
-
- All Implemented Interfaces:
Serializable,Identifiable
public class ContrastResult extends Object implements Identifiable, Serializable
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.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContrastResult.Factory
-
Constructor Summary
Constructors Constructor Description ContrastResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)DoublegetCoefficient()FactorValuegetFactorValue()LonggetId()DoublegetLogFoldChange()DoublegetPvalue()FactorValuegetSecondFactorValue()DoublegetTstat()inthashCode()voidsetCoefficient(Double coefficient)voidsetFactorValue(FactorValue factorValue)voidsetId(Long id)voidsetLogFoldChange(Double logFoldChange)voidsetPvalue(Double pvalue)voidsetSecondFactorValue(FactorValue secondFactorValue)voidsetTstat(Double tstat)StringtoString()
-
-
-
Method Detail
-
getFactorValue
@Nullable public FactorValue 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
public void setFactorValue(@Nullable FactorValue factorValue)
-
getId
public Long getId()
- Specified by:
getIdin interfaceIdentifiable
-
setId
public void setId(Long id)
-
getLogFoldChange
@Nullable public Double 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.
-
getSecondFactorValue
@Nullable public FactorValue getSecondFactorValue()
-
setSecondFactorValue
public void setSecondFactorValue(@Nullable FactorValue secondFactorValue)
-
getTstat
@Nullable public Double getTstat()
- Returns:
- Serves as the effect size as well as an indicator of the direction of change relative to the baseline
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object object)
-
-