Learn R Programming

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

Copy Link

Version

Install

install.packages('ape')

Monthly Downloads

94,730

Version

5.6-2

License

GPL-2 | GPL-3

Last Published

March 2nd, 2022

Functions in ape (5.6-2)

Moran.I

Moran's I Autocorrelation Index
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
DNAbin

Manipulate DNA Sequences in Bit-Level Format
DNAbin2indel

Recode Blocks of Indels
AAbin

Amino Acid Sequences
all.equal.phylo

Global Comparison of two Phylogenies
additive

Incomplete Distance Matrix Filling
bd.time

Time-Dependent Birth-Death Models
CADM.global

Congruence among distance matrices
alview

Print DNA or AA Sequence Alignement
SDM

Construction of Consensus Distance Matrix With SDM
branching.times

Branching Times of a Phylogenetic Tree
ace

Ancestral Character Estimation
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
as.phylo

Conversion Among Tree and Network Objects
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
bird.families

Phylogeny of the Families of Birds From Sibley and Ahlquist
bird.orders

Phylogeny of the Orders of Birds From Sibley and Ahlquist
ape-package

Analyses of Phylogenetics and Evolution
ape-internal

Internal Ape Functions
bind.tree

Binds Trees
c.phylo

Building Lists of Trees
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
coalescent.intervals

Coalescent Intervals
corMartins

Martins's (1997) Correlation Structure
collapse.singles

Collapse Single Nodes
corGrafen

Grafen's (1989) Correlation Structure
degree

Vertex Degrees in Trees and Networks
del.gaps

Delete Alignment Gaps in DNA Sequences
alex

Alignment Explorer With Multiple Devices
diversity.contrast.test

Diversity Contrast Test
collapsed.intervals

Collapsed Coalescent Intervals
all.equal.DNAbin

Compare DNA Sets
dnds

dN/dS Ratio
image.DNAbin

Plot of DNA Sequence Alignement
axisPhylo

Axis on Side of Phylogeny
ltt.plot

Lineages Through Time Plot
is.binary

Test for Binary Tree
balance

Balance of a Dichotomous Phylogenetic Tree
birthdeath

Estimation of Speciation and Extinction Rates With Birth-Death Models
compar.cheverud

Cheverud's Comparative Method
corPagel

Pagel's ``lambda'' Correlation Structure
delta.plot

Delta Plots
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
chronoMPL

Molecular Dating With Mean Path Lengths
chronopl

Molecular Dating With Penalized Likelihood
multiphylo

Manipulating Lists of Trees
makeLabel

Label Management
compute.brlen

Branch Lengths Computation
compute.brtime

Compute and Set Branching Times
cophyloplot

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

Tree Bipartition and Bootstrapping Phylogenies
LTT

Theoretical Lineage-Through Time Plots
mvr

Minimum Variance Reduction
base.freq

Base frequencies from DNA Sequences
dist.gene

Pairwise Distances from Genetic Data
bd.ext

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

Test of host-parasite coevolution
corBlomberg

Blomberg et al.'s Correlation Structure
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
dist.topo

Topological Distances Between Two Trees
evonet

Evolutionary Networks
dist.dna

Pairwise Distances from DNA Sequences
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
ewLasso

Incomplete distances and edge weights of unrooted topology
gammaStat

Gamma-Statistic of Pybus and Harvey
cherry

Number of Cherries and Null Models of Trees
is.compatible

Check Compatibility of Splits
latag2n

Leading and Trailing Alignment Gaps to N
apetools

Tools to Explore Files
is.monophyletic

Is Group Monophyletic
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
nodelabels

Labelling the Nodes, Tips, and Edges of a Tree
lmorigin

Multiple regression through the origin
checkAlignment

Check DNA Alignments
chiroptera

Bat Phylogeny
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
diversi.time

Analysis of Diversification with Survival Models
carnivora

Carnivora body sizes and life history traits
consensus

Concensus Trees
diversi.gof

Tests of Constant Diversification Rates
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
drop.tip

Remove Tips in a Phylogenetic Tree
edges

Draw Additional Edges on a Plotted Tree
node.dating

node.dating
pcoa

Principal Coordinate Analysis
is.ultrametric

Test if a Tree is Ultrametric
node.depth

Depth and Heights of Nodes and Tips
makeNodeLabel

Makes Node Labels
rDNAbin

Random DNA Sequences
nj

Neighbor-Joining Tree Estimation
mantel.test

Mantel Test for Similarity of Two Matrices
kronoviz

Plot Multiple Chronograms on the Same Scale
rTraitCont

Continuous Character Simulation
read.GenBank

Read DNA Sequences from GenBank via Internet
nodepath

Find Paths of Nodes
read.caic

Read Tree File in CAIC Format
read.dna

Read DNA Sequences in a File
trex

Tree Explorer With Multiple Devices
as.alignment

Conversion Among DNA Sequence Internal Formats
weight.taxo

Define Similarity Matrix
treePop

Tree Popping
vcv2phylo

Variance-Covariance Matrix to Tree
checkLabel

Checking Labels
checkValidPhylo

Check the Structure of a "phylo" Object
zoom

Zoom on a Portion of a Phylogeny
as.bitsplits

Split Frequencies and Conversion Among Split Classes
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
phydataplot

Tree Annotation
njs

Tree Reconstruction from Incomplete Distances With NJ* or bio-NJ*
phymltest

Fits a Bunch of Models with PhyML
plotTreeTime

Plot Tree With Time Axis
print.phylo

Compact Display of a Phylogeny
read.gff

Read GFF Files
rtt

Root a Tree by Root-to-Tip Regression
seg.sites

Find Segregating Sites in DNA Sequences
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
plot.varcomp

Plot Variance Components
as.matching

Conversion Between Phylo and Matching Objects
reconstruct

Continuous Ancestral Character Estimation
summary.phylo

Print Summary of a Phylogeny
trans

Translation from DNA to Amino Acid Sequences
read.tree

Read Tree File in Parenthetic Format
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
skyline

Skyline Plot Estimate of Effective Population Size
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
triangMtd

Tree Reconstruction Based on the Triangles Method
skylineplot

Drawing Skyline Plot Graphs
where

Find Patterns in DNA Sequences
corBrownian

Brownian Correlation Structure
comparePhylo

Compare Two "phylo" Objects
unique.multiPhylo

Revomes Duplicate Trees
varCompPhylip

Variance Components with Orthonormal Contrasts
yule.time

Fits the Time-Dependent Yule Model
updateLabel

Update Labels
yule.cov

Fits the Yule Model With Covariates
woodmouse

Cytochrome b Gene Sequences of Woodmice
write.dna

Write DNA Sequences in a File
write.tree

Write Tree File in Parenthetic Format
clustal

Multiple Sequence Alignment with External Applications
compar.gee

Comparative Analysis with GEEs
yule

Fits the Yule Model to a Phylogenetic Tree
write.nexus.data

Write Character Data in NEXUS Format
compar.lynch

Lynch's Comparative Method
which.edge

Identifies Edges of a Tree
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
write.nexus

Write Tree File in Nexus Format
howmanytrees

Calculate Numbers of Phylogenetic Trees
corClasses

Phylogenetic Correlation Structures
mat5Mrand

Five Independent Trees
identify.phylo

Graphical Identification of Nodes and Tips
matexpo

Matrix Exponential
data.nex

NEXUS Data Example
correlogram.formula

Phylogenetic Correlogram
dbd

Probability Density Under Birth--Death Models
mixedFontLabel

Mixed Font Labels for Plotting
mrca

Find Most Recent Common Ancestors Between Pairs
def

Definition of Vectors for Plotting or Annotating
plot.phylo

Plot Phylogenies
plot.correlogram

Plot a Correlogram
read.nexus

Read Tree File in Nexus Format
read.nexus.data

Read Character Data In NEXUS Format
getAnnotationsGenBank

Read Annotations from GenBank
rlineage

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

Phylogenetic Tree of 193 HIV-1 Sequences
root

Roots Phylogenetic Trees
label2table

Label Management
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
subtrees

All subtrees of a Phylogenetic Tree
ladderize

Ladderize a Tree
mat3

Three Matrices
mat5M3ID

Five Trees
mst

Minimum Spanning Tree
multi2di

Collapse and Resolve Multichotomies
rTraitMult

Multivariate Character Simulation
pic

Phylogenetically Independent Contrasts
rTraitDisc

Discrete Character Simulation
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
reorder.phylo

Internal Reordering of Trees
richness.yule.test

Test of Diversification-Shift With the Yule Process
rotate

Swapping Sister Clades
rtree

Generate Random Trees
speciesTree

Species Tree Estimation
stree

Generates Systematic Regular Trees
vcv

Phylogenetic Variance-covariance or Correlation Matrix
varcomp

Compute Variance Component Estimates
MPR

Most Parsimonious Reconstruction