R/computed.expected.peak.loc.R

Defines functions computed.expected.peak.loc

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