Class Frequency
java.lang.Object
org.monarchinitiative.lirical.exomiser_db_adapter.model.frequency.Frequency
- Author:
- Jules Jacobsen
-
Method Summary
Modifier and TypeMethodDescriptionintac()intan()booleanfloatinthashCode()inthoms()booleanisOverThreshold(float threshold) static Frequencyof(FrequencySource source, float value) static Frequencyof(FrequencySource source, int ac, int an, int homs) static floatpercentageFrequency(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
-