View source: R/phylo__distsPerClade.R
distsPerClade | R Documentation |
This function extracts clades from a rooted bifurcating phylogenetic tree and reports the minimum, median, and the maximum of phylogenetic distances of each clade. Phylogenetic distances may be SNP counts (neighbour-joining tree), number of substitutions per site (maximum-likelihood tree), and so forth. The input tree will be midpoint rooted if it is unrooted.
distsPerClade(tr, m = NULL, dec = 8, boots = NULL)
tr |
An input bifurcating phylogenetic tree |
m |
(Optional) A distance matrix with row and column names matching to tip labels of the input tree |
dec |
(Optional) Number of decimals kept for distance summaries (default: 8 digits) |
boots |
(Optional) A data frame of bootstrap values. Format: Node (integer/character values), Bootstrap (floating-point numbers) |
A data frame summarising phylogenetic distances for each clade
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.