Class Multifunctionality

java.lang.Object
ubic.gemma.model.common.AbstractIdentifiable
ubic.gemma.model.genome.gene.Multifunctionality
All Implemented Interfaces:
Identifiable

public class Multifunctionality extends AbstractIdentifiable
  • Constructor Details

    • Multifunctionality

      public Multifunctionality()
  • Method Details

    • 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)
    • hashCode

      public int hashCode()
      Description copied from class: AbstractIdentifiable
      Important note: Never use the ID in the hashCode() implementation since it can be assigned when the object is persisted.
      Specified by:
      hashCode in class AbstractIdentifiable
    • equals

      public boolean equals(Object object)
      Description copied from class: AbstractIdentifiable
      Important note: Two objects with the same class and non-null ID must be considered equal. If one or both IDs are nulls, the rest of the state can be used to determine equality.
      Specified by:
      equals in class AbstractIdentifiable
    • toString

      public String toString()
      Overrides:
      toString in class AbstractIdentifiable