java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.model.frequency.Frequency

public class Frequency extends Object
Author:
Jules Jacobsen
  • Method Details

    • of

      public static Frequency of(FrequencySource source, float value)
    • of

      public static Frequency of(FrequencySource source, int ac, int an, int homs)
    • source

      public FrequencySource source()
    • frequency

      public float frequency()
    • ac

      public int ac()
    • an

      public int an()
    • homs

      public int homs()
    • isOverThreshold

      public boolean isOverThreshold(float threshold)
    • percentageFrequency

      public static float percentageFrequency(int ac, int an)
      Returns the frequency of ac/an as a percentage frequency.
      Parameters:
      ac - Allele Count - the number of observed alleles.
      an - Allele Number - size of the population in which the AC was observed.
      Returns:
      the frequency of ac/an as a percentage frequency in the range 0..100
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object