Class Gene2GeneCoexpression
- java.lang.Object
-
- ubic.gemma.model.association.Gene2GeneIdAssociation
-
- ubic.gemma.model.association.coexpression.Gene2GeneCoexpression
-
- All Implemented Interfaces:
Serializable
,Comparable<Gene2GeneCoexpression>
- Direct Known Subclasses:
HumanGeneCoExpression
,MouseGeneCoExpression
,OtherGeneCoExpression
,RatGeneCoExpression
public abstract class Gene2GeneCoexpression extends Gene2GeneIdAssociation implements Comparable<Gene2GeneCoexpression>
Represents coexpression of a pair of genes.- Author:
- Paul
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description SupportDetails
supportDetails
-
Constructor Summary
Constructors Constructor Description Gene2GeneCoexpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Gene2GeneCoexpression o)
boolean
equals(Object obj)
Collection<Long>
getDataSetsSupporting()
Integer
getNumDatasetsSupporting()
SupportDetails
getSupportDetails()
int
hashCode()
Boolean
isPositiveCorrelation()
boolean
isSupportedBy(BioAssaySet bioAssaySet)
void
setNumDatasetsSupporting(Integer numDataSets)
Warning: wouldn't normally use this.void
setSupportDetails(SupportDetails supportDetails)
String
toString()
void
updateNumDatasetsSupporting()
Refresh the value of numDataSetsSupporting after updating supportDetails (use during modification of the data...)-
Methods inherited from class ubic.gemma.model.association.Gene2GeneIdAssociation
getFirstGene, getId, getSecondGene
-
-
-
-
Field Detail
-
supportDetails
public SupportDetails supportDetails
-
-
Method Detail
-
compareTo
public int compareTo(Gene2GeneCoexpression o)
- Specified by:
compareTo
in interfaceComparable<Gene2GeneCoexpression>
-
getDataSetsSupporting
public Collection<Long> getDataSetsSupporting()
-
getNumDatasetsSupporting
public Integer getNumDatasetsSupporting()
- Returns:
- The value returned comes from the supportDetails if it is non-null
-
setNumDatasetsSupporting
public void setNumDatasetsSupporting(Integer numDataSets)
Warning: wouldn't normally use this. This is just to make serializing easier.- Parameters:
numDataSets
- Only used if the supportDetails are null. Otherwise this just calls updateNumDatasetsSupporting().
-
getSupportDetails
public SupportDetails getSupportDetails()
-
setSupportDetails
public void setSupportDetails(SupportDetails supportDetails)
-
isPositiveCorrelation
public Boolean isPositiveCorrelation()
-
isSupportedBy
public boolean isSupportedBy(BioAssaySet bioAssaySet)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classGene2GeneIdAssociation
-
equals
public boolean equals(Object obj)
- Overrides:
equals
in classGene2GeneIdAssociation
-
toString
public String toString()
- Overrides:
toString
in classGene2GeneIdAssociation
-
updateNumDatasetsSupporting
public void updateNumDatasetsSupporting()
Refresh the value of numDataSetsSupporting after updating supportDetails (use during modification of the data...)
-
-