min_brlen | R Documentation |
min_brlen()
returns a table of smallest tip-to-tip distances in a phylogenetic tree.
min_brlen(tree, n = 5, verbose = TRUE)
tree |
A path to tree file in Newick format, or a phylogenetic tree object of class phylo. |
n |
Number of distances to report (default = 5). |
verbose |
Logical of whether to print the result to screen (default = TRUE). |
min_brlen()
tabulates the smallest tip-to-tip distances in a phylogenetic tree
using cophenetic.phylo and prints a table to screen.
This is useful when excluding identical or near-identical haplotypes
using the '–minbr' parameter in mPTP.
an object of class tbl_df
Rupert A. Collins
# estimate minimum branch length from raxml tree
min_brlen(ape::as.phylo(geophagus_raxml), n = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.