mle_e | R Documentation |
Calculate the MLE of the sequencing error rate e for a fixed value of the contaminant probability p.
mle_e(
tab,
p = 0.05,
interval = c(0, 1),
tol = 0.000001,
check_boundary = FALSE
)
tab |
Dataset of read counts as 3d array of size 3x3x2, genotype in first sample x genotype in second sample x allele in read. |
p |
Assumed value for the contaminant probability |
interval |
Interval to which each parameter should be constrained |
tol |
Tolerance for convergence |
check_boundary |
If TRUE, explicitly check the boundaries of |
A single numeric value, the MLE of e
, with the log likelihood as an attribute.
data(mbmixdata)
mle_e(mbmixdata, p=0.74)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.