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.7

License

GPL-2 | GPL-3

Maintainer

Emmanuel Paradis

Last Published

February 16th, 2023

Functions in ape (5.7)

DNAbin2indel

Recode Blocks of Indels
DNAbin

Manipulate DNA Sequences in Bit-Level Format
MPR

Most Parsimonious Reconstruction
AAbin

Amino Acid Sequences
Moran.I

Moran's I Autocorrelation Index
CADM.global

Congruence among distance matrices
SDM

Construction of Consensus Distance Matrix With SDM
ace

Ancestral Character Estimation
all.equal.phylo

Global Comparison of two Phylogenies
alview

Print DNA or AA Sequence Alignement
LTT

Theoretical Lineage-Through Time Plots
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
additive

Incomplete Distance Matrix Filling
as.alignment

Conversion Among DNA Sequence Internal Formats
ape-package

Analyses of Phylogenetics and Evolution
ape-internal

Internal Ape Functions
apetools

Tools to Explore Files
alex

Alignment Explorer With Multiple Devices
as.bitsplits

Split Frequencies and Conversion Among Split Classes
as.phylo

Conversion Among Tree and Network Objects
bd.time

Time-Dependent Birth-Death Models
all.equal.DNAbin

Compare DNA Sets
axisPhylo

Axis on Side of Phylogeny
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
as.matching

Conversion Between Phylo and Matching Objects
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
balance

Balance of a Dichotomous Phylogenetic Tree
base.freq

Base frequencies from DNA Sequences
checkAlignment

Check DNA Alignments
carnivora

Carnivora body sizes and life history traits
bd.ext

Extended Version of the Birth-Death Models to Estimate Speciation and Extinction Rates
bird.orders

Phylogeny of the Orders of Birds From Sibley and Ahlquist
birthdeath

Estimation of Speciation and Extinction Rates With Birth-Death Models
bird.families

Phylogeny of the Families of Birds From Sibley and Ahlquist
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
bind.tree

Binds Trees
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
branching.times

Branching Times of a Phylogenetic Tree
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
checkValidPhylo

Check the Structure of a "phylo" Object
chronopl

Molecular Dating With Penalized Likelihood
cherry

Number of Cherries and Null Models of Trees
c.phylo

Building Lists of Trees
chronoMPL

Molecular Dating With Mean Path Lengths
chiroptera

Bat Phylogeny
coalescent.intervals

Coalescent Intervals
checkLabel

Checking Labels
clustal

Multiple Sequence Alignment with External Applications
collapse.singles

Collapse Single Nodes
compar.lynch

Lynch's Comparative Method
compute.brlen

Branch Lengths Computation
compute.brtime

Compute and Set Branching Times
compar.gee

Comparative Analysis with GEEs
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
comparePhylo

Compare Two "phylo" Objects
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
collapsed.intervals

Collapsed Coalescent Intervals
compar.cheverud

Cheverud's Comparative Method
consensus

Concensus Trees
corGrafen

Grafen's (1989) Correlation Structure
corClasses

Phylogenetic Correlation Structures
data.nex

NEXUS Data Example
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
corPagel

Pagel's ``lambda'' Correlation Structure
correlogram.formula

Phylogenetic Correlogram
corBrownian

Brownian Correlation Structure
corBlomberg

Blomberg et al.'s Correlation Structure
corMartins

Martins's (1997) Correlation Structure
cophyloplot

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

Topological Distances Between Two Trees
def

Definition of Vectors for Plotting or Annotating
diversi.time

Analysis of Diversification with Survival Models
dist.gene

Pairwise Distances from Genetic Data
del.gaps

Delete Alignment Gaps in DNA Sequences
degree

Vertex Degrees in Trees and Networks
delta.plot

Delta Plots
dbd

Probability Density Under Birth--Death Models
diversi.gof

Tests of Constant Diversification Rates
dist.dna

Pairwise Distances from DNA Sequences
getAnnotationsGenBank

Read Annotations from GenBank
dnds

dN/dS Ratio
diversity.contrast.test

Diversity Contrast Test
ewLasso

Incomplete distances and edge weights of unrooted topology
gammaStat

Gamma-Statistic of Pybus and Harvey
drop.tip

Remove Tips in a Phylogenetic Tree
evonet

Evolutionary Networks
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
edges

Draw Additional Edges on a Plotted Tree
hivtree

Phylogenetic Tree of 193 HIV-1 Sequences
image.DNAbin

Plot of DNA Sequence Alignement
is.compatible

Check Compatibility of Splits
is.monophyletic

Is Group Monophyletic
is.ultrametric

Test if a Tree is Ultrametric
is.binary

Test for Binary Tree
identify.phylo

Graphical Identification of Nodes and Tips
label2table

Label Management
ladderize

Ladderize a Tree
kronoviz

Plot Multiple Chronograms on the Same Scale
howmanytrees

Calculate Numbers of Phylogenetic Trees
makeNodeLabel

Makes Node Labels
mat3

Three Matrices
mat5Mrand

Five Independent Trees
latag2n

Leading and Trailing Alignment Gaps to N
mantel.test

Mantel Test for Similarity of Two Matrices
matexpo

Matrix Exponential
ltt.plot

Lineages Through Time Plot
makeLabel

Label Management
mat5M3ID

Five Trees
lmorigin

Multiple regression through the origin
mst

Minimum Spanning Tree
njs

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

Find Most Recent Common Ancestors Between Pairs
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mixedFontLabel

Mixed Font Labels for Plotting
multi2di

Collapse and Resolve Multichotomies
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
multiphylo

Manipulating Lists of Trees
nj

Neighbor-Joining Tree Estimation
mvr

Minimum Variance Reduction
nodelabels

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

Principal Coordinate Analysis
node.dating

node.dating
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
node.depth

Depth and Heights of Nodes and Tips
parafit

Test of host-parasite coevolution
pic

Phylogenetically Independent Contrasts
nodepath

Find Paths of Nodes
phymltest

Fits a Bunch of Models with PhyML
phydataplot

Tree Annotation
rDNAbin

Random DNA Sequences
plot.correlogram

Plot a Correlogram
rTraitCont

Continuous Character Simulation
plotTreeTime

Plot Tree With Time Axis
rTraitDisc

Discrete Character Simulation
print.phylo

Compact Display of a Phylogeny
plot.varcomp

Plot Variance Components
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
rTraitMult

Multivariate Character Simulation
plot.phylo

Plot Phylogenies
reorder.phylo

Internal Reordering of Trees
read.GenBank

Read DNA Sequences from GenBank via Internet
read.nexus.data

Read Character Data In NEXUS Format
read.caic

Read Tree File in CAIC Format
reconstruct

Continuous Ancestral Character Estimation
read.nexus

Read Tree File in Nexus Format
read.gff

Read GFF Files
richness.yule.test

Test of Diversification-Shift With the Yule Process
read.dna

Read DNA Sequences in a File
read.tree

Read Tree File in Parenthetic Format
rtree

Generate Random Trees
rtt

Root a Tree by Root-to-Tip Regression
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
rlineage

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

Drawing Skyline Plot Graphs
seg.sites

Find Segregating Sites in DNA Sequences
skyline

Skyline Plot Estimate of Effective Population Size
root

Roots Phylogenetic Trees
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
rotate

Swapping Sister Clades
trans

Translation from DNA to Amino Acid Sequences
treePop

Tree Popping
trex

Tree Explorer With Multiple Devices
summary.phylo

Print Summary of a Phylogeny
speciesTree

Species Tree Estimation
unique.multiPhylo

Revomes Duplicate Trees
stree

Generates Systematic Regular Trees
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
subtrees

All subtrees of a Phylogenetic Tree
triangMtd

Tree Reconstruction Based on the Triangles Method
updateLabel

Update Labels
write.dna

Write DNA Sequences in a File
where

Find Patterns in DNA Sequences
which.edge

Identifies Edges of a Tree
yule.time

Fits the Time-Dependent Yule Model
weight.taxo

Define Similarity Matrix
zoom

Zoom on a Portion of a Phylogeny
varCompPhylip

Variance Components with Orthonormal Contrasts
write.nexus

Write Tree File in Nexus Format
vcv2phylo

Variance-Covariance Matrix to Tree
write.tree

Write Tree File in Parenthetic Format
varcomp

Compute Variance Component Estimates
write.nexus.data

Write Character Data in NEXUS Format
yule

Fits the Yule Model to a Phylogenetic Tree
yule.cov

Fits the Yule Model With Covariates
woodmouse

Cytochrome b Gene Sequences of Woodmice
vcv

Phylogenetic Variance-covariance or Correlation Matrix