View source: R/Tree_generation.R
Creates a phylogenetic tree on simple assumptions: 1. There is a common ancestor to all clones 2. Each clone creates a partition of the space. One node will carry mutations, the other will not. A node that is not mutated can be partitioned. 3. Nodes that have less than 2 less than 1 4. Nodes that have less than 10 WARNING: Tree_generation recreates a tree from data while phylo_tree_generation randomly creates a phylogeny
1 | phylo_tree_generation(number_of_clones, number_of_samples)
|
number_of_clones |
The wanted number of observable clones (meaning bearing at least 1 mutation) |
number_of_samples |
The number of samples on which the data should be simulated |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.