prepareTree | R Documentation |
phyloMed
functionThe phyloMed
function requires a rooted and binary tree as input. The prepareTree
is an utility function that allows users to preprocess their tree if it is unrooted and/or non-binary. The tree
output from prepareTree
function can be directly fed into phyloMed
function.
prepareTree(tree, verbose = FALSE)
tree |
A |
verbose |
An optional logical value. If |
A binary and rooted tree with nodes and tips conform with following phylo
standards:
The internal nodes are numbered with value larger than the number of tips.
The internal nodes are numbered sequentially, with values increasing away from the root.
Qilin Hong qhong8@wisc.edu
# Load real data
data(data.cecal)
tree = prepareTree(data.cecal$tree)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.