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

101,907

Version

5.6

License

GPL-2 | GPL-3

Maintainer

Emmanuel Paradis

Last Published

December 21st, 2021

Functions in ape (5.6)

AAbin

Amino Acid Sequences
CADM.global

Congruence among distance matrices
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
MPR

Most Parsimonious Reconstruction
Moran.I

Moran's I Autocorrelation Index
all.equal.phylo

Global Comparison of two Phylogenies
alview

Print DNA or AA Sequence Alignement
additive

Incomplete Distance Matrix Filling
LTT

Theoretical Lineage-Through Time Plots
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
ape-package

Analyses of Phylogenetics and Evolution
ape-internal

Internal Ape Functions
apetools

Tools to Explore Files
as.alignment

Conversion Among DNA Sequence Internal Formats
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
bd.time

Time-Dependent Birth-Death Models
as.phylo

Conversion Among Tree and Network Objects
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
SDM

Construction of Consensus Distance Matrix With SDM
as.matching

Conversion Between Phylo and Matching Objects
all.equal.DNAbin

Compare DNA Sets
ace

Ancestral Character Estimation
alex

Alignment Explorer With Multiple Devices
axisPhylo

Axis on Side of Phylogeny
as.bitsplits

Split Frequencies and Conversion Among Split Classes
balance

Balance of a Dichotomous Phylogenetic Tree
branching.times

Branching Times of a Phylogenetic Tree
bd.ext

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

Recode Blocks of Indels
DNAbin

Manipulate DNA Sequences in Bit-Level Format
base.freq

Base frequencies from DNA Sequences
c.phylo

Building Lists of Trees
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
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
birthdeath

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

Multiple Sequence Alignment with External Applications
checkValidPhylo

Check the Structure of a "phylo" Object
checkLabel

Checking Labels
carnivora

Carnivora body sizes and life history traits
checkAlignment

Check DNA Alignments
coalescent.intervals

Coalescent Intervals
collapse.singles

Collapse Single Nodes
compar.lynch

Lynch's Comparative Method
chiroptera

Bat Phylogeny
compar.gee

Comparative Analysis with GEEs
cherry

Number of Cherries and Null Models of Trees
compute.brtime

Compute and Set Branching Times
compute.brlen

Branch Lengths Computation
compar.cheverud

Cheverud's Comparative Method
collapsed.intervals

Collapsed Coalescent Intervals
consensus

Concensus Trees
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
chronopl

Molecular Dating With Penalized Likelihood
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
chronoMPL

Molecular Dating With Mean Path Lengths
bind.tree

Binds Trees
corPagel

Pagel's ``lambda'' Correlation Structure
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
corBrownian

Brownian Correlation Structure
corClasses

Phylogenetic Correlation Structures
comparePhylo

Compare Two "phylo" Objects
corGrafen

Grafen's (1989) Correlation Structure
corMartins

Martins's (1997) Correlation Structure
corBlomberg

Blomberg et al.'s Correlation Structure
cophyloplot

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

Phylogenetic Correlogram
data.nex

NEXUS Data Example
def

Definition of Vectors for Plotting or Annotating
delta.plot

Delta Plots
dbd

Probability Density Under Birth--Death Models
dist.dna

Pairwise Distances from DNA Sequences
del.gaps

Delete Alignment Gaps in DNA Sequences
degree

Vertex Degrees in Trees and Networks
dist.topo

Topological Distances Between Two Trees
dist.gene

Pairwise Distances from Genetic Data
diversi.time

Analysis of Diversification with Survival Models
diversi.gof

Tests of Constant Diversification Rates
drop.tip

Remove Tips in a Phylogenetic Tree
dnds

dN/dS Ratio
diversity.contrast.test

Diversity Contrast Test
getAnnotationsGenBank

Read Annotations from GenBank
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
evonet

Evolutionary Networks
gammaStat

Gamma-Statistic of Pybus and Harvey
ewLasso

Incomplete distances and edge weights of unrooted topology
label2table

Label Management
is.compatible

Check Compatibility of Splits
howmanytrees

Calculate Numbers of Phylogenetic Trees
identify.phylo

Graphical Identification of Nodes and Tips
is.binary

Test for Binary Tree
image.DNAbin

Plot of DNA Sequence Alignement
is.monophyletic

Is Group Monophyletic
ladderize

Ladderize a Tree
kronoviz

Plot Multiple Chronograms on the Same Scale
is.ultrametric

Test if a Tree is Ultrametric
mat3

Three Matrices
latag2n

Leading and Trailing Alignment Gaps to N
matexpo

Matrix Exponential
mat5Mrand

Five Independent Trees
lmorigin

Multiple regression through the origin
makeLabel

Label Management
mrca

Find Most Recent Common Ancestors Between Pairs
mixedFontLabel

Mixed Font Labels for Plotting
ltt.plot

Lineages Through Time Plot
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
nj

Neighbor-Joining Tree Estimation
njs

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

Five Trees
multi2di

Collapse and Resolve Multichotomies
mantel.test

Mantel Test for Similarity of Two Matrices
makeNodeLabel

Makes Node Labels
mst

Minimum Spanning Tree
multiphylo

Manipulating Lists of Trees
mvr

Minimum Variance Reduction
nodelabels

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

Test of host-parasite coevolution
phymltest

Fits a Bunch of Models with PhyML
phydataplot

Tree Annotation
pcoa

Principal Coordinate Analysis
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
pic

Phylogenetically Independent Contrasts
nodepath

Find Paths of Nodes
node.depth

Depth and Heights of Nodes and Tips
node.dating

node.dating
rTraitDisc

Discrete Character Simulation
rTraitMult

Multivariate Character Simulation
plotTreeTime

Plot Tree With Time Axis
rTraitCont

Continuous Character Simulation
plot.correlogram

Plot a Correlogram
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
rDNAbin

Random DNA Sequences
plot.phylo

Plot Phylogenies
print.phylo

Compact Display of a Phylogeny
plot.varcomp

Plot Variance Components
read.tree

Read Tree File in Parenthetic Format
richness.yule.test

Test of Diversification-Shift With the Yule Process
reorder.phylo

Internal Reordering of Trees
reconstruct

Continuous Ancestral Character Estimation
read.gff

Read GFF Files
read.dna

Read DNA Sequences in a File
read.GenBank

Read DNA Sequences from GenBank via Internet
read.caic

Read Tree File in CAIC Format
read.nexus.data

Read Character Data In NEXUS Format
read.nexus

Read Tree File in Nexus Format
rtt

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

Slowinski-Guyer Test of Homogeneous Diversification
skylineplot

Drawing Skyline Plot Graphs
rtree

Generate Random Trees
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
skyline

Skyline Plot Estimate of Effective Population Size
rotate

Swapping Sister Clades
seg.sites

Find Segregating Sites in DNA Sequences
root

Roots Phylogenetic Trees
rlineage

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

Tree Reconstruction Based on the Triangles Method
summary.phylo

Print Summary of a Phylogeny
trex

Tree Explorer With Multiple Devices
treePop

Tree Popping
trans

Translation from DNA to Amino Acid Sequences
unique.multiPhylo

Revomes Duplicate Trees
stree

Generates Systematic Regular Trees
speciesTree

Species Tree Estimation
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
subtrees

All subtrees of a Phylogenetic Tree
weight.taxo

Define Similarity Matrix
which.edge

Identifies Edges of a Tree
where

Find Patterns in DNA Sequences
vcv2phylo

Variance-Covariance Matrix to Tree
varCompPhylip

Variance Components with Orthonormal Contrasts
updateLabel

Update Labels
vcv

Phylogenetic Variance-covariance or Correlation Matrix
varcomp

Compute Variance Component Estimates
woodmouse

Cytochrome b Gene Sequences of Woodmice
write.dna

Write DNA Sequences in a File
yule.time

Fits the Time-Dependent Yule Model
write.nexus.data

Write Character Data in NEXUS Format
zoom

Zoom on a Portion of a Phylogeny
yule

Fits the Yule Model to a Phylogenetic Tree
yule.cov

Fits the Yule Model With Covariates
write.tree

Write Tree File in Parenthetic Format
write.nexus

Write Tree File in Nexus Format