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 class
ContrastResult.Factory
-
Constructor Summary
Constructors Constructor Description ContrastResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Double
getCoefficient()
FactorValue
getFactorValue()
Long
getId()
Double
getLogFoldChange()
Double
getPvalue()
FactorValue
getSecondFactorValue()
Double
getTstat()
int
hashCode()
void
setCoefficient(Double coefficient)
void
setFactorValue(FactorValue factorValue)
void
setId(Long id)
void
setLogFoldChange(Double logFoldChange)
void
setPvalue(Double pvalue)
void
setSecondFactorValue(FactorValue secondFactorValue)
void
setTstat(Double tstat)
String
toString()
-
-
-
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:
getId
in 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)
-
-