View source: R/CreateSynData.R
AssignPresentAbsentOneSample | R Documentation |
Randomly assign present / absent to each of a set of signatures, and keep trying until at least one is present
AssignPresentAbsentOneSample(prev.present, verbose = 0)
prev.present |
Vector of prevalences, each the prevalence of 1 mutational signature. |
verbose |
If > 0, cat some possibly informative messages |
a vector of 0s and 1s of length
length(prev.present)
, and for which
sum(prev.present) > 0
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.