Class Gene2GeneCoexpression
java.lang.Object
ubic.gemma.model.association.Gene2GeneIdAssociation
ubic.gemma.model.association.coexpression.Gene2GeneCoexpression
- All Implemented Interfaces:
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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
int
hashCode()
boolean
void
setNumDatasetsSupporting
(Integer numDataSets) Warning: wouldn't normally use this.void
setSupportDetails
(SupportDetails supportDetails) toString()
void
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 Details
-
supportDetails
-
-
Constructor Details
-
Gene2GeneCoexpression
public Gene2GeneCoexpression()
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<Gene2GeneCoexpression>
-
getDataSetsSupporting
-
getNumDatasetsSupporting
- Returns:
- The value returned comes from the supportDetails if it is non-null
-
setNumDatasetsSupporting
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
-
setSupportDetails
-
isPositiveCorrelation
-
isSupportedBy
-
hashCode
public int hashCode()- Overrides:
hashCode
in classGene2GeneIdAssociation
-
equals
- Overrides:
equals
in classGene2GeneIdAssociation
-
toString
- Overrides:
toString
in classGene2GeneIdAssociation
-
updateNumDatasetsSupporting
public void updateNumDatasetsSupporting()Refresh the value of numDataSetsSupporting after updating supportDetails (use during modification of the data...)
-