Class GeneCoexpressionNodeDegreeValueObject
java.lang.Object
ubic.gemma.model.association.coexpression.GeneCoexpressionNodeDegreeValueObject
- All Implemented Interfaces:
Serializable
Represents a GeneCoexpressionNodeDegree
- Author:
- Paul
- See Also:
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptiondouble[]double[]int[]int[]voidclear()Used during recomputation only.booleangetLinksWithExactSupport(Integer support, boolean positive) getLinksWithMinimumSupport(int i) getLinksWithMinimumSupport(Integer support, boolean positive) intintgetRankAtMinimumSupport(Integer support, boolean positive) inthashCode()voidtoEntity()toString()inttotal()Equivalent to getLinksWithMinimumSupport( 0 )
-
Constructor Details
-
GeneCoexpressionNodeDegreeValueObject
public GeneCoexpressionNodeDegreeValueObject() -
GeneCoexpressionNodeDegreeValueObject
-
-
Method Details
-
asDoubleArrayNegRanks
public double[] asDoubleArrayNegRanks() -
asDoubleArrayPosRanks
public double[] asDoubleArrayPosRanks() -
asIntArrayNeg
public int[] asIntArrayNeg()- Returns:
- counts at each level of support, starting from 0 (which will be 0), up to the maximum support.
-
asIntArrayPos
public int[] asIntArrayPos()- Returns:
- counts at each level of support, starting from 0 (which will be 0), up to the maximum support.
-
getGeneId
-
getLinksWithExactSupport
- Parameters:
support- valuepositive- positive- Returns:
- how many links have this much support (specifically).
-
getLinksWithMinimumSupport
- Parameters:
i- support- Returns:
- total number of links (this is just the total of positive and negative; if some of those are with the same genes it's a double count, sorry)
-
getLinksWithMinimumSupport
- Parameters:
support- thresholdpositive- positive- Returns:
- how many links have at least this much support (cumulative)
-
getMaxSupportNeg
public int getMaxSupportNeg() -
getMaxSupportPos
public int getMaxSupportPos()- Returns:
- the largest value for support for this gene
-
getRankAtMinimumSupport
-
hashCode
public int hashCode() -
equals
-
toString
-
increment
-
total
public int total()Equivalent to getLinksWithMinimumSupport( 0 )- Returns:
- how many links this gene has in total, across all levels of support (positive and negative correlations combined)
-
clear
public void clear()Used during recomputation only. -
toEntity
-