Learn R Programming

⚠️There's a newer version (2.4-4) of this package.Take me there.

phytools (version 0.1-8)

Phylogenetic Tools for comparative biology (and other things)

Description

phytools provides various functions for phylogenetic analysis, mostly relevant to comparative biology.

Copy Link

Version

Install

install.packages('phytools')

Monthly Downloads

12,126

Version

0.1-8

License

GPL (>= 2)

Maintainer

Liam Revell

Last Published

May 2nd, 2012

Functions in phytools (0.1-8)

getDescendants

Get descendant node numbers
ltt

Creates lineage-through-time plot (including extinct lineages)
evol.vcv

Likelihood test for variation in the evolutionary VCV matrix
phenogram

Plot phenogram (traitgram)
phyl.RMA

Phylogenetic reduced major axis (RMA) regression
estDiversity

Estimate diversity at each node of the tree
phylosig

Compute phylogenetic signal with two methods
drop.clade

Drop clade from a tree
plotSimmap

Plot stochastic character mapped tree
paintSubTree

Paint sub-trees with a discrete character
sampleFrom

Sample from a set of distributions
phyl.cca

Phylogenetic canonical correlation analysis
reorderSimmap

Reorder edges of a simmap tree
allFurcTrees

Generate all bi- and multifurcating unrooted trees
anc.ML

Ancestral character estimation using likelihood
branching.diffusion

Animation of branching random diffusion
findMRCA

Get the MRCA of a set of taxa
lambda.transform

Lambda transformation of matrix
evol.rate.mcmc

Bayesian MCMC method for identifying exceptional phenotypic diversification in a phylogeny
optim.phylo.ls

Phylogeny inference using the least squares method
mrp.supertree

Matrix representation parsimony supertree estimation
fastBM

Fast Brownian simulation
ls.tree

Least squares branch lengths for a given tree
evolvcv.lite

Likelihood test for a shift in the evolutionary correlation between traits
exhaustiveMP

Exhaustive and branch & bound MP optimization
treeSlice

Slices the tree at a particular point and returns all subtrees
sim.history

Simulate stochastic character history under some model
write.simmap

Simulate stochastic character map on a phylogenetic tree
add.everywhere

Add tip to all edges in a tree
fitBayes

Evolutionary model fitting with intraspecific variability using Bayesian MCMC
reroot

Re-root a tree along an edge
read.newick

Read Newick style tree
phylomorphospace

Creates phylomorphospace plot
splitTree

Split tree at a point
expm

Matrix exponential
getExtant

Returns a list of the extant or extinct lineages in a tree containing non-contemporaneous tips
map.overlap

Proportional overlap between two mapped character histories on a tree
drop.tip.simmap

Drop tip from SIMMAP format tree
anc.Bayes

Bayesian ancestral character estimation
gammatest

Gamma test of Pybus & Harvey (2000)
phyloDesign

Compute design matrix for least squares analyses
phyl.pairedttest

Phylogenetic paired t-test
posterior.evolrate

Analysis of the posterior sample from evol.rate.mcmc
vcvPhylo

Calculates cophenetic (i.e., phylogenetic VCV) matrix
rstate

Pick a random state according to a vector of probabilities
anc.trend

Ancestral character estimation with a trend
make.simmap

Simulate stochastic character map on a phylogenetic tree
brownie.lite

Likelihood test for rate variation
brownieREML

REML version of brownie.lite
minSplit

Finding the minimum (median) split in the posterior sample
pbtree

Simulate pure-birth stochastic tree or trees
phyl.pca

Phylogenetic principal components analysis
sim.rates

Brownian simulation with multiple evolutionary rates
phyl.vcv

Compute phylogenetic VCV matrix for a tree & dataset
phytools-package

phytools: Phylogenetic Tools for comparative biology (and other things)
nodeHeights

Compute the heights above the root of each node
phyl.resid

Phylogenetic size-correction via GLS regression
paste.tree

Paste two trees together
read.simmap

Read SIMMAP style trees from file
fitDiversityModel

Fit diversity-dependent phenotypic evolution model
make.era.map

Create "era" map on a phylogenetic tree
phylANOVA

Phylogenetic ANOVA and post-hoc tests
starTree

Create star phylogeny
plotTree

Plots rooted phylogenetic tree