R/reestimate.purity.R

Defines functions reestimate.purity

Documented in reestimate.purity

reestimate.purity <- function(loc, multiplicity, ploidy) {
  2 * loc / (multiplicity + loc * (2 - ploidy)) # from rearrangement of ASCAT equation
}
afrangou/CleanCNA documentation built on Dec. 28, 2021, 8:21 p.m.