write.simmap {phytools} | R Documentation |
Write a stochastic character mapped tree to file
Description
Writes one or multiple stochastic character mapped trees to file in several formats (following Bollback, 2006).
Usage
write.simmap(tree, file=NULL, append=FALSE, map.order=NULL, quiet=FALSE,
format="phylip", version=1.0)
Arguments
tree |
an object of class |
file |
an optional filename. |
append |
a logical value indicating whether to append to file. |
map.order |
a optional value specifying whether to write the map in left-to-right or right-to-left order. Acceptable values are "left-to-right" or "right-to-left" or some abbreviation of either. If not provided, |
quiet |
logical value indicating whether or not to print a warning message when |
format |
file format for output. |
version |
version of SIMMAP. Note that the options are |
Value
A file.
Author(s)
Liam Revell liam.revell@umb.edu
References
Bollback, J. P. (2006) Stochastic character mapping of discrete traits on phylogenies. BMC Bioinformatics, 7, 88.
Huelsenbeck, J. P., R. Neilsen, and J. P. Bollback (2003) Stochastic mapping of morphological characters. Systematic Biology, 52, 131-138.
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.
See Also
make.simmap
, read.simmap
, plotSimmap