Learn R Programming

Copy Link

Version

Install

install.packages('ape')

Monthly Downloads

92,890

Version

5.8-1

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

December 16th, 2024

Functions in ape (5.8-1)

balance

Balance of a Dichotomous Phylogenetic Tree
base.freq

Base frequencies from DNA Sequences
bind.tree

Binds Trees
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
c.phylo

Building Lists of Trees
bird.families

Phylogeny of the Families of Birds From Sibley and Ahlquist
bd.time

Time-Dependent Birth-Death Models
bird.orders

Phylogeny of the Orders of Birds From Sibley and Ahlquist
additive

Incomplete Distance Matrix Filling
bd.ext

Extended Version of the Birth-Death Models to Estimate Speciation and Extinction Rates
branching.times

Branching Times of a Phylogenetic Tree
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
chronopl

Molecular Dating With Penalized Likelihood
birthdeath

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

Carnivora body sizes and life history traits
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
clustal

Multiple Sequence Alignment with External Applications
chronoMPL

Molecular Dating With Mean Path Lengths
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
compar.gee

Comparative Analysis with GEEs
comparePhylo

Compare Two "phylo" Objects
checkLabel

Checking Labels
apetools

Tools to Explore Files
compar.lynch

Lynch's Comparative Method
checkAlignment

Check DNA Alignments
checkValidPhylo

Check the Structure of a "phylo" Object
coalescent.intervals

Coalescent Intervals
as.matching

Conversion Between Phylo and Matching Objects
collapsed.intervals

Collapsed Coalescent Intervals
as.alignment

Conversion Among DNA Sequence Internal Formats
as.bitsplits

Split Frequencies and Conversion Among Split Classes
collapse.singles

Collapse Single Nodes
consensus

Concensus Trees
cherry

Number of Cherries and Null Models of Trees
chiroptera

Bat Phylogeny
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
compute.brtime

Compute and Set Branching Times
compute.brlen

Branch Lengths Computation
corBrownian

Brownian Correlation Structure
corGrafen

Grafen's (1989) Correlation Structure
corMartins

Martins's (1997) Correlation Structure
corClasses

Phylogenetic Correlation Structures
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
compar.cheverud

Cheverud's Comparative Method
corBlomberg

Blomberg et al.'s Correlation Structure
correlogram.formula

Phylogenetic Correlogram
cophyloplot

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

Pagel's ``lambda'' Correlation Structure
data.nex

NEXUS Data Example
dist.gene

Pairwise Distances from Genetic Data
diversi.gof

Tests of Constant Diversification Rates
degree

Vertex Degrees in Trees and Networks
diversi.time

Analysis of Diversification with Survival Models
del.gaps

Delete Alignment Gaps in DNA or AA Sequences
dist.topo

Topological Distances Between Two Trees
ewLasso

Incomplete distances and edge weights of unrooted topology
gammaStat

Gamma-Statistic of Pybus and Harvey
dbd

Probability Density Under Birth--Death Models
delta.plot

Delta Plots
def

Definition of Vectors for Plotting or Annotating
edges

Draw Additional Edges on a Plotted Tree
hivtree

Phylogenetic Tree of 193 HIV-1 Sequences
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
drop.tip

Remove Tips in a Phylogenetic Tree
getAnnotationsGenBank

Read Annotations from GenBank
dnds

dN/dS Ratio
evonet

Evolutionary Networks
dist.dna

Pairwise Distances from DNA Sequences
kronoviz

Plot Multiple Chronograms on the Same Scale
label2table

Label Management
is.ultrametric

Test if a Tree is Ultrametric
ladderize

Ladderize a Tree
diversity.contrast.test

Diversity Contrast Test
howmanytrees

Calculate Numbers of Phylogenetic Trees
image.DNAbin

Plot of DNA Sequence Alignement
is.monophyletic

Is Group Monophyletic
is.binary

Test for Binary Tree
is.compatible

Check Compatibility of Splits
mat3

Three Matrices
identify.phylo

Graphical Identification of Nodes and Tips
ltt.plot

Lineages Through Time Plot
mat5M3ID

Five Trees
lmorigin

Multiple regression through the origin
latag2n

Leading and Trailing Alignment Gaps to N
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mst

Minimum Spanning Tree
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
mat5Mrand

Five Independent Trees
mantel.test

Mantel Test for Similarity of Two Matrices
matexpo

Matrix Exponential
multi2di

Collapse and Resolve Multichotomies
makeNodeLabel

Makes Node Labels
mvr

Minimum Variance Reduction
multiphylo

Manipulating Lists of Trees
nj

Neighbor-Joining Tree Estimation
makeLabel

Label Management
mixedFontLabel

Mixed Font Labels for Plotting
njs

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

Find Most Recent Common Ancestors Between Pairs
node.dating

node.dating
pic

Phylogenetically Independent Contrasts
node.depth

Depth and Heights of Nodes and Tips
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
parafit

Test of host-parasite coevolution
nodelabels

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

Find Paths of Nodes
pcoa

Principal Coordinate Analysis
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
plotTreeTime

Plot Tree With Time Axis
phymltest

Fits a Bunch of Models with PhyML
phydataplot

Tree Annotation
rDNAbin

Random DNA Sequences
print.phylo

Compact Display of a Phylogeny
plot.phylo

Plot Phylogenies
plot.correlogram

Plot a Correlogram
rTraitCont

Continuous Character Simulation
rTraitMult

Multivariate Character Simulation
rTraitDisc

Discrete Character Simulation
plot.varcomp

Plot Variance Components
read.tree

Read Tree File in Parenthetic Format
read.GenBank

Read DNA Sequences from GenBank via Internet
read.caic

Read Tree File in CAIC Format
reorder.phylo

Internal Reordering of Trees
reconstruct

Continuous Ancestral Character Estimation
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
richness.yule.test

Test of Diversification-Shift With the Yule Process
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
speciesTree

Species Tree Estimation
stree

Generates Systematic Regular Trees
read.nexus

Read Tree File in Nexus Format
treePop

Tree Popping
read.nexus.data

Read Character Data In NEXUS Format
trex

Tree Explorer With Multiple Devices
read.dna

Read DNA Sequences in a File
read.gff

Read GFF Files
rtt

Root a Tree by Root-to-Tip Regression
skyline

Skyline Plot Estimate of Effective Population Size
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
woodmouse

Cytochrome b Gene Sequences of Woodmice
seg.sites

Find Segregating Sites in DNA Sequences
rotate

Swapping Sister Clades
write.dna

Write DNA Sequences in a File
root

Roots Phylogenetic Trees
skylineplot

Drawing Skyline Plot Graphs
rlineage

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

Fits the Yule Model to a Phylogenetic Tree
rtree

Generate Random Trees
zoom

Zoom on a Portion of a Phylogeny
yule.time

Fits the Time-Dependent Yule Model
yule.cov

Fits the Yule Model With Covariates
subtrees

All subtrees of a Phylogenetic Tree
summary.phylo

Print Summary of a Phylogeny
where

Find Patterns in DNA Sequences
which.edge

Identifies Edges of a Tree
triangMtd

Tree Reconstruction Based on the Triangles Method
trans

Translation from DNA to Amino Acid Sequences
varcomp

Compute Variance Component Estimates
vcv

Phylogenetic Variance-covariance or Correlation Matrix
unique.multiPhylo

Revomes Duplicate Trees
vcv2phylo

Variance-Covariance Matrix to Tree
updateLabel

Update Labels
write.phyloXML

Write Tree File in phyloXML Format
varCompPhylip

Variance Components with Orthonormal Contrasts
weight.taxo

Define Similarity Matrix
write.nexus

Write Tree File in Nexus Format
write.tree

Write Tree File in Parenthetic Format
write.nexus.data

Write Character Data in NEXUS Format
DNAbin2indel

Recode Blocks of Indels
ape-package

Analyses of Phylogenetics and Evolution
alex

Alignment Explorer With Multiple Devices
AAbin

Amino Acid Sequences
MPR

Most Parsimonious Reconstruction
all.equal.phylo

Global Comparison of two Phylogenies
LTT

Theoretical Lineage-Through Time Plots
all.equal.DNAbin

Compare DNA Sets
DNAbin

Manipulate DNA Sequences in Bit-Level Format
ace

Ancestral Character Estimation
CADM.global

Congruence among distance matrices
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
SDM

Construction of Consensus Distance Matrix With SDM
ape-internal

Internal Ape Functions
axisPhylo

Axis on Side of Phylogeny
Moran.I

Moran's I Autocorrelation Index
alview

Print DNA or AA Sequence Alignement
as.phylo

Conversion Among Tree and Network Objects
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees