Class Frequency
java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.model.frequency.Frequency
- Author:
- Jules Jacobsen
-
Method Summary
Modifier and TypeMethodDescriptionint
ac()
int
an()
boolean
float
int
hashCode()
int
homs()
boolean
isOverThreshold
(float threshold) static Frequency
of
(FrequencySource source, float value) static Frequency
of
(FrequencySource source, int ac, int an, int homs) static float
percentageFrequency
(int ac, int an) Returns the frequency of ac/an as a percentage frequency.source()
toString()
-
Method Details
-
of
-
of
-
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
-
hashCode
public int hashCode() -
toString
-