powered by
fitNullNonNormalLl fits the null distribution to a set of negative controls
fitNullNonNormalLl
fitNullNonNormalLl(likelihoodApproximations)
An object containing the parameters of the null distribution.
Either a data frame containing normal, skew-normal, or custom parametric likelihood approximations, or a list of (adaptive) grid likelihood profiles.
This function fits a Gaussian function to the negative control estimates, using non-normal approximations of the per-negative control log likelihood.
data(sccs) negatives <- sccs[sccs$groundTruth == 0, ] null <- fitNullNonNormalLl(negatives) null
Run the code above in your browser using DataLab