make_sample | R Documentation |
Sprinkle mutations on genealogy
make_sample(graph, nsam = 0L, mu = NULL, segsites = NULL)
graph |
igraph |
nsam |
number of cells to sample |
mu |
mutation rate per cell division (ignored if segsites is given) |
segsites |
number of segregating sites |
make_sample
creates a genotype matrix from a given genealogy tree.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.