Learn R Programming

phytools (version 2.1-1)

ansi_phylo: Compute the parsimony score

Description

Plots a phylogeny in a silly, ANSI graphics style.

Usage

ansi_phylo(tree, vertical=c("|","-"), ...)

Value

A plotted tree.

Arguments

tree

object of class "phylo".

vertical

character for vertical lines

...

optional arguments.

Author

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.

See Also

plotTree, splinePhylogram

Examples

Run this code
data(salamanders)
ansi_phylo(salamanders)
par(mar=c(5.1,4.1,4.1,2.1))

Run the code above in your browser using DataLab