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.
  • Constructor Details

    • RecessiveLogLikelihood

      public RecessiveLogLikelihood()
  • Method Details

    • computeLogLikelihood

      public double computeLogLikelihood(List<org.gorpipe.gor.gava.CollapsedCounts> collapsedCounts, int[] perm, boolean debug)
      Description copied from class: GavaLogLikelihood
      Compute 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:
      computeLogLikelihood in class GavaLogLikelihood
      Parameters:
      collapsedCounts - the call counts for the subjects (with very rare variants collapsed)
      perm - permutation of the subjects
      debug - if true, print out debug information
      Returns: