View source: R/growthRateMethods.R
maxLikelihood | R Documentation |
Uses the approximation that coalescence times H_i are equal to a+b*U_i to find a and b. b is equal to 1/r, where r is the net growth rate.
maxLikelihood(tree, alpha = 0.05)
tree |
An ultrametric tree subset to include only the clone of interest. Alternatively, a list with several such trees. |
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, confidence intervals, and other important details (clone age estimate, runtime, n, etc.)
internalLengths which uses an alternatvie method for growth rate estimation from an ultrametric tree.
df <- maxLikelihood(cloneRate::exampleUltraTrees[[1]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.