plot.transformed.phylo: Plot a transformed phylogenetic tree

View source: R/phylogeny.R

plot.transformed.phyloR 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)


mmodely documentation built on May 31, 2023, 6:47 p.m.