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

87,302

Version

5.6-1

License

GPL-2 | GPL-3

Maintainer

Emmanuel Paradis

Last Published

January 7th, 2022

Functions in ape (5.6-1)

DNAbin

Manipulate DNA Sequences in Bit-Level Format
SDM

Construction of Consensus Distance Matrix With SDM
AAbin

Amino Acid Sequences
ace

Ancestral Character Estimation
MPR

Most Parsimonious Reconstruction
Moran.I

Moran's I Autocorrelation Index
LTT

Theoretical Lineage-Through Time Plots
DNAbin2indel

Recode Blocks of Indels
CADM.global

Congruence among distance matrices
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
all.equal.phylo

Global Comparison of two Phylogenies
alview

Print DNA or AA Sequence Alignement
bd.ext

Extended Version of the Birth-Death Models to Estimate Speciation and Extinction Rates
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
axisPhylo

Axis on Side of Phylogeny
apetools

Tools to Explore Files
balance

Balance of a Dichotomous Phylogenetic Tree
base.freq

Base frequencies from DNA Sequences
birthdeath

Estimation of Speciation and Extinction Rates With Birth-Death Models
carnivora

Carnivora body sizes and life history traits
as.phylo

Conversion Among Tree and Network Objects
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
as.alignment

Conversion Among DNA Sequence Internal Formats
ape-internal

Internal Ape Functions
all.equal.DNAbin

Compare DNA Sets
alex

Alignment Explorer With Multiple Devices
as.bitsplits

Split Frequencies and Conversion Among Split Classes
as.matching

Conversion Between Phylo and Matching Objects
ape-package

Analyses of Phylogenetics and Evolution
additive

Incomplete Distance Matrix Filling
bd.time

Time-Dependent Birth-Death Models
coalescent.intervals

Coalescent Intervals
collapse.singles

Collapse Single Nodes
correlogram.formula

Phylogenetic Correlogram
comparePhylo

Compare Two "phylo" Objects
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
data.nex

NEXUS Data Example
bind.tree

Binds Trees
branching.times

Branching Times of a Phylogenetic Tree
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
bird.orders

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

Phylogeny of the Families of Birds From Sibley and Ahlquist
checkAlignment

Check DNA Alignments
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
compar.lynch

Lynch's Comparative Method
c.phylo

Building Lists of Trees
compar.gee

Comparative Analysis with GEEs
checkLabel

Checking Labels
compute.brlen

Branch Lengths Computation
checkValidPhylo

Check the Structure of a "phylo" Object
evonet

Evolutionary Networks
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
diversi.gof

Tests of Constant Diversification Rates
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
chiroptera

Bat Phylogeny
cherry

Number of Cherries and Null Models of Trees
compute.brtime

Compute and Set Branching Times
corGrafen

Grafen's (1989) Correlation Structure
collapsed.intervals

Collapsed Coalescent Intervals
corBlomberg

Blomberg et al.'s Correlation Structure
cophyloplot

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

Cheverud's Comparative Method
corMartins

Martins's (1997) Correlation Structure
chronoMPL

Molecular Dating With Mean Path Lengths
chronopl

Molecular Dating With Penalized Likelihood
ewLasso

Incomplete distances and edge weights of unrooted topology
corPagel

Pagel's ``lambda'' Correlation Structure
diversi.time

Analysis of Diversification with Survival Models
kronoviz

Plot Multiple Chronograms on the Same Scale
is.ultrametric

Test if a Tree is Ultrametric
mat5M3ID

Five Trees
mat3

Three Matrices
nj

Neighbor-Joining Tree Estimation
nodelabels

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

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

Find Paths of Nodes
clustal

Multiple Sequence Alignment with External Applications
dist.gene

Pairwise Distances from Genetic Data
rTraitDisc

Discrete Character Simulation
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
corBrownian

Brownian Correlation Structure
consensus

Concensus Trees
delta.plot

Delta Plots
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
corClasses

Phylogenetic Correlation Structures
def

Definition of Vectors for Plotting or Annotating
dbd

Probability Density Under Birth--Death Models
dnds

dN/dS Ratio
dist.dna

Pairwise Distances from DNA Sequences
diversity.contrast.test

Diversity Contrast Test
degree

Vertex Degrees in Trees and Networks
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
getAnnotationsGenBank

Read Annotations from GenBank
dist.topo

Topological Distances Between Two Trees
gammaStat

Gamma-Statistic of Pybus and Harvey
multiphylo

Manipulating Lists of Trees
image.DNAbin

Plot of DNA Sequence Alignement
makeNodeLabel

Makes Node Labels
mantel.test

Mantel Test for Similarity of Two Matrices
is.binary

Test for Binary Tree
rTraitMult

Multivariate Character Simulation
mvr

Minimum Variance Reduction
is.compatible

Check Compatibility of Splits
is.monophyletic

Is Group Monophyletic
hivtree

Phylogenetic Tree of 193 HIV-1 Sequences
pic

Phylogenetically Independent Contrasts
plotTreeTime

Plot Tree With Time Axis
ltt.plot

Lineages Through Time Plot
parafit

Test of host-parasite coevolution
pcoa

Principal Coordinate Analysis
makeLabel

Label Management
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
del.gaps

Delete Alignment Gaps in DNA Sequences
identify.phylo

Graphical Identification of Nodes and Tips
howmanytrees

Calculate Numbers of Phylogenetic Trees
print.phylo

Compact Display of a Phylogeny
reorder.phylo

Internal Reordering of Trees
drop.tip

Remove Tips in a Phylogenetic Tree
label2table

Label Management
skyline

Skyline Plot Estimate of Effective Population Size
subtrees

All subtrees of a Phylogenetic Tree
richness.yule.test

Test of Diversification-Shift With the Yule Process
skylineplot

Drawing Skyline Plot Graphs
speciesTree

Species Tree Estimation
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
lmorigin

Multiple regression through the origin
latag2n

Leading and Trailing Alignment Gaps to N
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
plot.varcomp

Plot Variance Components
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
ladderize

Ladderize a Tree
read.gff

Read GFF Files
mrca

Find Most Recent Common Ancestors Between Pairs
edges

Draw Additional Edges on a Plotted Tree
rlineage

Tree Simulation Under the Time-Dependent Birth--Death Models
read.dna

Read DNA Sequences in a File
mixedFontLabel

Mixed Font Labels for Plotting
mat5Mrand

Five Independent Trees
node.dating

node.dating
root

Roots Phylogenetic Trees
matexpo

Matrix Exponential
stree

Generates Systematic Regular Trees
mst

Minimum Spanning Tree
read.nexus.data

Read Character Data In NEXUS Format
read.nexus

Read Tree File in Nexus Format
which.edge

Identifies Edges of a Tree
node.depth

Depth and Heights of Nodes and Tips
where

Find Patterns in DNA Sequences
zoom

Zoom on a Portion of a Phylogeny
triangMtd

Tree Reconstruction Based on the Triangles Method
unique.multiPhylo

Revomes Duplicate Trees
multi2di

Collapse and Resolve Multichotomies
vcv2phylo

Variance-Covariance Matrix to Tree
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
phydataplot

Tree Annotation
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
phymltest

Fits a Bunch of Models with PhyML
rTraitCont

Continuous Character Simulation
rDNAbin

Random DNA Sequences
treePop

Tree Popping
trex

Tree Explorer With Multiple Devices
weight.taxo

Define Similarity Matrix
woodmouse

Cytochrome b Gene Sequences of Woodmice
yule

Fits the Yule Model to a Phylogenetic Tree
write.dna

Write DNA Sequences in a File
write.tree

Write Tree File in Parenthetic Format
rtt

Root a Tree by Root-to-Tip Regression
read.GenBank

Read DNA Sequences from GenBank via Internet
plot.phylo

Plot Phylogenies
reconstruct

Continuous Ancestral Character Estimation
plot.correlogram

Plot a Correlogram
read.caic

Read Tree File in CAIC Format
read.tree

Read Tree File in Parenthetic Format
rotate

Swapping Sister Clades
rtree

Generate Random Trees
seg.sites

Find Segregating Sites in DNA Sequences
varCompPhylip

Variance Components with Orthonormal Contrasts
write.nexus.data

Write Character Data in NEXUS Format
updateLabel

Update Labels
write.nexus

Write Tree File in Nexus Format
summary.phylo

Print Summary of a Phylogeny
trans

Translation from DNA to Amino Acid Sequences
yule.cov

Fits the Yule Model With Covariates
yule.time

Fits the Time-Dependent Yule Model
varcomp

Compute Variance Component Estimates
vcv

Phylogenetic Variance-covariance or Correlation Matrix