View source: R/growthRateMethods.R
sharedMuts | R Documentation |
sharedMuts()
provides an estimate for the net growth rate of the clone with confidence bounds, using the shared mutations method.
sharedMuts(tree, nu = NULL, alpha = 0.05)
tree |
A non-ultrametric ape tree subset to include only the clone of interest |
nu |
The mutation rate. If none given, sharedMuts() will first look for a |
alpha |
Used for calculation of confidence intervals. 1-alpha confidence intervals used with default of alpha = 0.05 (95 percent confidence intervals) |
A dataframe including the net growth rate estimate, the sum of internal lengths and other important details (clone age estimate, runtime, n, etc.)
internalLengths()
which is the ultrametric/time-based analogue
sharedMuts(cloneRate::exampleMutTrees[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.