Package ubic.gemma.model.genome.gene
Class Multifunctionality
- java.lang.Object
-
- ubic.gemma.model.genome.gene.Multifunctionality
-
- All Implemented Interfaces:
Serializable
public class Multifunctionality extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Multifunctionality.Factory
-
Constructor Summary
Constructors Constructor Description Multifunctionality()
No-arg constructor added to satisfy javabean contract
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object object)
Long
getId()
Integer
getNumGoTerms()
Double
getRank()
Double
getScore()
int
hashCode()
void
setId(Long id)
void
setNumGoTerms(Integer numGoTerms)
void
setRank(Double rank)
void
setScore(Double score)
String
toString()
-
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getNumGoTerms
public Integer getNumGoTerms()
- Returns:
- The number of GO terms the gene has, after propagation, but excluding the roots
-
setNumGoTerms
public void setNumGoTerms(Integer numGoTerms)
-
getRank
public Double getRank()
- Returns:
- The relative rank of the gene among other genes in the taxon, based on the multifunctionality score (not the number of GO terms, though that would generally give a similar result). A rank of 1 means the "most multifunctional", while 0 is assigned to the least multifunctional gene.
-
setRank
public void setRank(Double rank)
-
getScore
public Double getScore()
- Returns:
- The multifunctionality of the gene, as scored using the "optimal ranking" method of Gillis and Pavlidis (2011). It is a value from 0 to 1, where 1 is the highest multifunctionality. Note that this score is not very useful by itself as it really only makes sense as a relative measure among genes. Thus the rank should be used for display.
-
setScore
public void setScore(Double score)
-
-