computed.expected.peak.loc <- function(multiplicity, purity, ploidy) {
(multiplicity * purity) / (2 * (1 - purity) + ploidy * purity) # from ASCAT equation
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.