get_purity | R Documentation |
Estimate the proportion of cancer cells in the admixture of cells forming the tumor microenvironment or the fraction of ctDNA in cfDNA samples.
get_purity(tumor_table, info_sites)
tumor_table |
A matrix of beta-values |
info_sites |
A data.frame reporting a set of informative sites
generated by |
A data.frame with purity scores.
purity <- get_purity(tumor_toy_data, info_sites=data.frame(Probe=c("CpG_00001","CpG_00010","CpG_00020", "CpG_00015","CpG_00030","CpG_00045"), Site_type=rep(c("hyper","hypo"), each=3)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.