Package org.gorpipe.gor.gava
Class RecessiveLogLikelihood
- java.lang.Object
-
- org.gorpipe.gor.gava.GavaLogLikelihood
-
- org.gorpipe.gor.gava.RecessiveLogLikelihood
-
public class RecessiveLogLikelihood extends GavaLogLikelihood
Log likelihood calculator for recessive variant association.
-
-
Field Summary
-
Fields inherited from class org.gorpipe.gor.gava.GavaLogLikelihood
casePenetrance, controlPenetrance, includeProtective, noMaxAlleleCounts, numCases, numControls, upperFreqThreshold
-
-
Constructor Summary
Constructors Constructor Description RecessiveLogLikelihood()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublecomputeLogLikelihood(java.util.List<org.gorpipe.gor.gava.CollapsedCounts> collapsedCounts, int[] perm, boolean debug)Compute the log-likelihood ratio for a feature.-
Methods inherited from class org.gorpipe.gor.gava.GavaLogLikelihood
calcVariantLogLikelihood, setIncludeProtective, setPenetrance, setSubjectCounts, setUpperFreqThreshold
-
-
-
-
Method Detail
-
computeLogLikelihood
public double computeLogLikelihood(java.util.List<org.gorpipe.gor.gava.CollapsedCounts> collapsedCounts, int[] perm, boolean debug)Description copied from class:GavaLogLikelihoodCompute the log-likelihood ratio for a feature. The first numControls subjects in the given permutation are used as controls, and the remaining perm.length-numControls are used as cases.- Specified by:
computeLogLikelihoodin classGavaLogLikelihood- Parameters:
collapsedCounts- the call counts for the subjects (with very rare variants collapsed)perm- permutation of the subjectsdebug- if true, print out debug information- Returns:
-
-