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