gen_subj_truth | R Documentation |
Simulates copy number states, multiplicities, allocations
gen_subj_truth(mat_eS, maxLOCI, nCN = NULL)
mat_eS |
A subclone configuration matrix pre-defined in R list |
maxLOCI |
A positive integer number of simulated somatic variant calls |
nCN |
A positive integer for the number of allelic copy number pairings
to sample from. If |
A list containing the following components:
subj_truth
dataframe of each variant's simulated minor
(CN_1
) and major (CN_2
) copy number states, total copy
number (tCN
), subclone allocation (true_A
), multiplicity
(true_M
), mutant allele frequency (true_MAF
), and cellular
prevalence (true_CP
)
purity
tumor purity
eta
the product of tumor purity and subclone proportions
q
vector of subclone proportions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.