View source: R/Tree_generation.R
Checks that created leaf has cellularity >1 existing clone in at least one sample, and that cellularities in all samples are greater than or equal to 0.
1 | check_leaf(new_leaf, Proportions_mutated)
|
new_leaf |
A numeric vector to be added |
Proportions_mutated |
Matrix with samples in columns, clones (carrying mutations) in rows. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.