plot.transformed.phylo {mmodely} | R Documentation |
Plot a transformed phylogenetic tree
Description
PGLS regression will use maximum likelihood to estimate tree parameters while also estimating regression parameters. Here we provide a utility function to visualize what this new tree would look like in two dimensions.
Usage
## S3 method for class 'transformed.phylo'
plot(x, delta=1,kappa=1,...)
Arguments
x |
a phylogenetic tree |
delta |
an integer between 0 and 3 |
kappa |
an integer between 0 and 3 |
... |
other parameters passed to 'plot' |
Value
a plot of a transformed phylogenetic tree
Examples
tree.path <- system.file("extdata","primate-springer.2012.tre", package="mmodely")
phyl <- ape::read.tree(tree.path)[[5]]
plot.transformed.phylo(x=phyl, delta=2.3,kappa=2.1)
[Package mmodely version 0.2.5 Index]