View source: R/writeAncestors.R
writeAncestors | R Documentation |
This function writes a tree to file with ancestral character states and (optionally) 95% confidence intervals stored as node value.
writeAncestors(tree, Anc=NULL, file="", digits=6, format=c("phylip","nexus"),
...)
tree |
a phylogenetic tree or set of trees as an object of class |
Anc |
a vector of ancestral states, a list containing the ancestral states and 95% confidence intervals (as from |
file |
an optional string with the filename for output. |
digits |
an integer indicating the number of digits to print for branch lengths and ancestral character values. |
format |
a string indicating whether to output the result in simple Newick (i.e., |
... |
additional arguments including |
A file, string, or vector of strings.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
ace
, fastAnc
, write.tree
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.