Learn R Programming

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

Copy Link

Version

Install

install.packages('ape')

Monthly Downloads

92,890

Version

5.5

License

GPL-2 | GPL-3

Last Published

April 25th, 2021

Functions in ape (5.5)

MPR

Most Parsimonious Reconstruction
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
Moran.I

Moran's I Autocorrelation Index
alex

Alignment Explorer With Multiple Devices
as.alignment

Conversion Among DNA Sequence Internal Formats
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
bd.time

Time-Dependent Birth-Death Models
apetools

Tools to Explore Files
bird.orders

Phylogeny of the Orders of Birds From Sibley and Ahlquist
bird.families

Phylogeny of the Families of Birds From Sibley and Ahlquist
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
clustal

Multiple Sequence Alignment with External Applications
cherry

Number of Cherries and Null Models of Trees
chiroptera

Bat Phylogeny
comparePhylo

Compare Two "phylo" Objects
compar.gee

Comparative Analysis with GEEs
axisPhylo

Axis on Side of Phylogeny
all.equal.DNAbin

Compare DNA Sets
AAbin

Amino Acid Sequences
balance

Balance of a Dichotomous Phylogenetic Tree
CADM.global

Congruence among distance matrices
compar.lynch

Lynch's Comparative Method
corPagel

Pagel's ``lambda'' Correlation Structure
carnivora

Carnivora body sizes and life history traits
ape-package

Analyses of Phylogenetics and Evolution
ape-internal

Internal Ape Functions
checkAlignment

Check DNA Alignments
chronopl

Molecular Dating With Penalized Likelihood
chronoMPL

Molecular Dating With Mean Path Lengths
base.freq

Base frequencies from DNA Sequences
bd.ext

Extended Version of the Birth-Death Models to Estimate Speciation and Extinction Rates
dbd

Probability Density Under Birth--Death Models
cophyloplot

Plots two phylogenetic trees face to face with links between the tips.
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
corBlomberg

Blomberg et al.'s Correlation Structure
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
birthdeath

Estimation of Speciation and Extinction Rates With Birth-Death Models
dist.gene

Pairwise Distances from Genetic Data
edges

Draw Additional Edges on a Plotted Tree
dist.dna

Pairwise Distances from DNA Sequences
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
correlogram.formula

Phylogenetic Correlogram
data.nex

NEXUS Data Example
compute.brtime

Compute and Set Branching Times
compute.brlen

Branch Lengths Computation
del.gaps

Delete Alignment Gaps in DNA Sequences
LTT

Theoretical Lineage-Through Time Plots
alview

Print DNA or AA Sequence Alignement
all.equal.phylo

Global Comparison of two Phylogenies
evonet

Evolutionary Networks
coalescent.intervals

Coalescent Intervals
identify.phylo

Graphical Identification of Nodes and Tips
collapse.singles

Collapse Single Nodes
consensus

Concensus Trees
dnds

dN/dS Ratio
def

Definition of Vectors for Plotting or Annotating
as.matching

Conversion Between Phylo and Matching Objects
as.bitsplits

Split Frequencies and Conversion Among Split Classes
branching.times

Branching Times of a Phylogenetic Tree
delta.plot

Delta Plots
c.phylo

Building Lists of Trees
latag2n

Leading and Trailing Alignment Gaps to N
drop.tip

Remove Tips in a Phylogenetic Tree
checkLabel

Checking Labels
ladderize

Ladderize a Tree
makeLabel

Label Management
makeNodeLabel

Makes Node Labels
SDM

Construction of Consensus Distance Matrix With SDM
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
ace

Ancestral Character Estimation
label2table

Label Management
ewLasso

Incomplete distances and edge weights of unrooted topology
mantel.test

Mantel Test for Similarity of Two Matrices
kronoviz

Plot Multiple Chronograms on the Same Scale
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
checkValidPhylo

Check the Structure of a "phylo" Object
print.phylo

Compact Display of a Phylogeny
rDNAbin

Random DNA Sequences
image.DNAbin

Plot of DNA Sequence Alignement
mat3

Three Matrices
corGrafen

Grafen's (1989) Correlation Structure
gammaStat

Gamma-Statistic of Pybus and Harvey
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
bind.tree

Binds Trees
getAnnotationsGenBank

Read Annotations from GenBank
mrca

Find Most Recent Common Ancestors Between Pairs
is.ultrametric

Test if a Tree is Ultrametric
is.monophyletic

Is Group Monophyletic
matexpo

Matrix Exponential
read.gff

Read GFF Files
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mvr

Minimum Variance Reduction
corMartins

Martins's (1997) Correlation Structure
dist.topo

Topological Distances Between Two Trees
nj

Neighbor-Joining Tree Estimation
lmorigin

Multiple regression through the origin
hivtree

Phylogenetic Tree of 193 HIV-1 Sequences
diversi.gof

Tests of Constant Diversification Rates
howmanytrees

Calculate Numbers of Phylogenetic Trees
corClasses

Phylogenetic Correlation Structures
compar.cheverud

Cheverud's Comparative Method
collapsed.intervals

Collapsed Coalescent Intervals
corBrownian

Brownian Correlation Structure
nodepath

Find Paths of Nodes
ltt.plot

Lineages Through Time Plot
njs

Tree Reconstruction from Incomplete Distances With NJ* or bio-NJ*
node.dating

node.dating
rTraitMult

Multivariate Character Simulation
parafit

Test of host-parasite coevolution
diversi.time

Analysis of Diversification with Survival Models
read.nexus

Read Tree File in Nexus Format
root

Roots Phylogenetic Trees
rtt

Root a Tree by Root-to-Tip Regression
reorder.phylo

Internal Reordering of Trees
reconstruct

Continuous Ancestral Character Estimation
rtree

Generate Random Trees
read.GenBank

Read DNA Sequences from GenBank via Internet
varcomp

Compute Variance Component Estimates
rotate

Swapping Sister Clades
updateLabel

Update Labels
zoom

Zoom on a Portion of a Phylogeny
vcv

Phylogenetic Variance-covariance or Correlation Matrix
varCompPhylip

Variance Components with Orthonormal Contrasts
pcoa

Principal Coordinate Analysis
vcv2phylo

Variance-Covariance Matrix to Tree
multi2di

Collapse and Resolve Multichotomies
multiphylo

Manipulating Lists of Trees
mst

Minimum Spanning Tree
node.depth

Depth and Heights of Nodes and Tips
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
plot.correlogram

Plot a Correlogram
nodelabels

Labelling the Nodes, Tips, and Edges of a Tree
plot.phylo

Plot Phylogenies
plotTreeTime

Plot Tree With Time Axis
plot.varcomp

Plot Variance Components
phydataplot

Tree Annotation
weight.taxo

Define Similarity Matrix
read.caic

Read Tree File in CAIC Format
rTraitCont

Continuous Character Simulation
rTraitDisc

Discrete Character Simulation
read.nexus.data

Read Character Data In NEXUS Format
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
read.dna

Read DNA Sequences in a File
diversity.contrast.test

Diversity Contrast Test
read.tree

Read Tree File in Parenthetic Format
mat5M3ID

Five Trees
is.compatible

Check Compatibility of Splits
is.binary

Test for Binary Tree
subtrees

All subtrees of a Phylogenetic Tree
write.nexus

Write Tree File in Nexus Format
write.nexus.data

Write Character Data in NEXUS Format
yule.cov

Fits the Yule Model With Covariates
yule.time

Fits the Time-Dependent Yule Model
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
seg.sites

Find Segregating Sites in DNA Sequences
skyline

Skyline Plot Estimate of Effective Population Size
mat5Mrand

Five Independent Trees
skylineplot

Drawing Skyline Plot Graphs
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
trex

Tree Explorer With Multiple Devices
treePop

Tree Popping
summary.phylo

Print Summary of a Phylogeny
trans

Translation from DNA to Amino Acid Sequences
mixedFontLabel

Mixed Font Labels for Plotting
phymltest

Fits a Bunch of Models with PhyML
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
where

Find Patterns in DNA Sequences
pic

Phylogenetically Independent Contrasts
which.edge

Identifies Edges of a Tree
yule

Fits the Yule Model to a Phylogenetic Tree
write.tree

Write Tree File in Parenthetic Format
richness.yule.test

Test of Diversification-Shift With the Yule Process
speciesTree

Species Tree Estimation
stree

Generates Systematic Regular Trees
rlineage

Tree Simulation Under the Time-Dependent Birth--Death Models
triangMtd

Tree Reconstruction Based on the Triangles Method
unique.multiPhylo

Revomes Duplicate Trees
woodmouse

Cytochrome b Gene Sequences of Woodmice
write.dna

Write DNA Sequences in a File
DNAbin2indel

Recode Blocks of Indels
DNAbin

Manipulate DNA Sequences in Bit-Level Format
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
additive

Incomplete Distance Matrix Filling
as.phylo

Conversion Among Tree and Network Objects