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

92,890

Version

5.7-1

License

GPL-2 | GPL-3

Issues

Pull Requests

Stars

Forks

Last Published

March 13th, 2023

Functions in ape (5.7-1)

ace

Ancestral Character Estimation
apetools

Tools to Explore Files
as.alignment

Conversion Among DNA Sequence Internal Formats
as.phylo

Conversion Among Tree and Network Objects
as.phylo.formula

Conversion from Taxonomy Variables to Phylogenetic Trees
DNAbin2indel

Recode Blocks of Indels
add.scale.bar

Add a Scale Bar to a Phylogeny Plot
additive

Incomplete Distance Matrix Filling
as.bitsplits

Split Frequencies and Conversion Among Split Classes
as.matching

Conversion Between Phylo and Matching Objects
chronos

Molecular Dating by Penalised Likelihood and Maximum Likelihood
bird.families

Phylogeny of the Families of Birds From Sibley and Ahlquist
clustal

Multiple Sequence Alignment with External Applications
MPR

Most Parsimonious Reconstruction
compar.ou

Ornstein--Uhlenbeck Model for Continuous Characters
comparePhylo

Compare Two "phylo" Objects
axisPhylo

Axis on Side of Phylogeny
AAbin

Amino Acid Sequences
bird.orders

Phylogeny of the Orders of Birds From Sibley and Ahlquist
balance

Balance of a Dichotomous Phylogenetic Tree
CADM.global

Congruence among distance matrices
branching.times

Branching Times of a Phylogenetic Tree
Moran.I

Moran's I Autocorrelation Index
corPagel

Pagel's ``lambda'' Correlation Structure
collapsed.intervals

Collapsed Coalescent Intervals
corphylo

Correlations among Multiple Traits with Phylogenetic Signal
compar.cheverud

Cheverud's Comparative Method
all.equal.phylo

Global Comparison of two Phylogenies
Initialize.corPhyl

Initialize a `corPhyl' Structure Object
corGrafen

Grafen's (1989) Correlation Structure
ape-internal

Internal Ape Functions
LTT

Theoretical Lineage-Through Time Plots
c.phylo

Building Lists of Trees
alview

Print DNA or AA Sequence Alignement
ape-package

Analyses of Phylogenetics and Evolution
alex

Alignment Explorer With Multiple Devices
carnivora

Carnivora body sizes and life history traits
checkAlignment

Check DNA Alignments
diversi.gof

Tests of Constant Diversification Rates
bd.time

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

Compare DNA Sets
coalescent.intervals

Coalescent Intervals
binaryPGLMM

Phylogenetic Generalized Linear Mixed Model for Binary Data
base.freq

Base frequencies from DNA Sequences
bind.tree

Binds Trees
cherry

Number of Cherries and Null Models of Trees
corMartins

Martins's (1997) Correlation Structure
diversi.time

Analysis of Diversification with Survival Models
diversity.contrast.test

Diversity Contrast Test
delta.plot

Delta Plots
BIONJ

Tree Estimation Based on an Improved Version of the NJ Algorithm
bd.ext

Extended Version of the Birth-Death Models to Estimate Speciation and Extinction Rates
dist.dna

Pairwise Distances from DNA Sequences
birthdeath

Estimation of Speciation and Extinction Rates With Birth-Death Models
collapse.singles

Collapse Single Nodes
getAnnotationsGenBank

Read Annotations from GenBank
chiroptera

Bat Phylogeny
consensus

Concensus Trees
hivtree

Phylogenetic Tree of 193 HIV-1 Sequences
FastME

Tree Estimation Based on the Minimum Evolution Algorithm
cophenetic.phylo

Pairwise Distances from a Phylogenetic Tree
gammaStat

Gamma-Statistic of Pybus and Harvey
ltt.plot

Lineages Through Time Plot
dnds

dN/dS Ratio
makeLabel

Label Management
corBrownian

Brownian Correlation Structure
boot.phylo

Tree Bipartition and Bootstrapping Phylogenies
label2table

Label Management
corClasses

Phylogenetic Correlation Structures
checkLabel

Checking Labels
parafit

Test of host-parasite coevolution
dbd

Probability Density Under Birth--Death Models
ladderize

Ladderize a Tree
is.compatible

Check Compatibility of Splits
def

Definition of Vectors for Plotting or Annotating
checkValidPhylo

Check the Structure of a "phylo" Object
compute.brlen

Branch Lengths Computation
drop.tip

Remove Tips in a Phylogenetic Tree
mat3

Three Matrices
compute.brtime

Compute and Set Branching Times
is.monophyletic

Is Group Monophyletic
makeNodeLabel

Makes Node Labels
mantel.test

Mantel Test for Similarity of Two Matrices
chronoMPL

Molecular Dating With Mean Path Lengths
correlogram.formula

Phylogenetic Correlogram
mat5M3ID

Five Trees
pcoa

Principal Coordinate Analysis
edges

Draw Additional Edges on a Plotted Tree
chronopl

Molecular Dating With Penalized Likelihood
data.nex

NEXUS Data Example
compar.gee

Comparative Analysis with GEEs
rDNAbin

Random DNA Sequences
compar.lynch

Lynch's Comparative Method
rTraitCont

Continuous Character Simulation
multiphylo

Manipulating Lists of Trees
cophyloplot

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

Swapping Sister Clades
dist.gene

Pairwise Distances from Genetic Data
corBlomberg

Blomberg et al.'s Correlation Structure
image.DNAbin

Plot of DNA Sequence Alignement
rtree

Generate Random Trees
degree

Vertex Degrees in Trees and Networks
varcomp

Compute Variance Component Estimates
mvr

Minimum Variance Reduction
is.binary

Test for Binary Tree
vcv

Phylogenetic Variance-covariance or Correlation Matrix
del.gaps

Delete Alignment Gaps in DNA Sequences
phydataplot

Tree Annotation
phymltest

Fits a Bunch of Models with PhyML
dist.topo

Topological Distances Between Two Trees
mst

Minimum Spanning Tree
rTraitDisc

Discrete Character Simulation
is.ultrametric

Test if a Tree is Ultrametric
rTraitMult

Multivariate Character Simulation
kronoviz

Plot Multiple Chronograms on the Same Scale
njs

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

Neighbor-Joining Tree Estimation
evonet

Evolutionary Networks
pic

Phylogenetically Independent Contrasts
multi2di

Collapse and Resolve Multichotomies
ewLasso

Incomplete distances and edge weights of unrooted topology
howmanytrees

Calculate Numbers of Phylogenetic Trees
plot.correlogram

Plot a Correlogram
pic.ortho

Phylogenetically Independent Orthonormal Contrasts
reorder.phylo

Internal Reordering of Trees
identify.phylo

Graphical Identification of Nodes and Tips
plot.phylo

Plot Phylogenies
plotTreeTime

Plot Tree With Time Axis
richness.yule.test

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

Read Tree File in Parenthetic Format
slowinskiguyer.test

Slowinski-Guyer Test of Homogeneous Diversification
mat5Mrand

Five Independent Trees
print.phylo

Compact Display of a Phylogeny
solveAmbiguousBases

Solve Ambiguous Bases in DNA Sequences
matexpo

Matrix Exponential
mcconwaysims.test

McConway-Sims Test of Homogeneous Diversification
mcmc.popsize

Reversible Jump MCMC to Infer Demographic History
reconstruct

Continuous Ancestral Character Estimation
skyline

Skyline Plot Estimate of Effective Population Size
read.dna

Read DNA Sequences in a File
latag2n

Leading and Trailing Alignment Gaps to N
node.dating

node.dating
node.depth

Depth and Heights of Nodes and Tips
read.gff

Read GFF Files
lmorigin

Multiple regression through the origin
plot.phylo.extra

Extra Fuctions to Plot and Annotate Phylogenies
treePop

Tree Popping
skylineplot

Drawing Skyline Plot Graphs
subtreeplot

Zoom on a Portion of a Phylogeny by Successive Clicks
mixedFontLabel

Mixed Font Labels for Plotting
trex

Tree Explorer With Multiple Devices
triangMtd

Tree Reconstruction Based on the Triangles Method
write.tree

Write Tree File in Parenthetic Format
mrca

Find Most Recent Common Ancestors Between Pairs
subtrees

All subtrees of a Phylogenetic Tree
updateLabel

Update Labels
yule

Fits the Yule Model to a Phylogenetic Tree
nodelabels

Labelling the Nodes, Tips, and Edges of a Tree
plot.varcomp

Plot Variance Components
varCompPhylip

Variance Components with Orthonormal Contrasts
nodepath

Find Paths of Nodes
unique.multiPhylo

Revomes Duplicate Trees
read.GenBank

Read DNA Sequences from GenBank via Internet
where

Find Patterns in DNA Sequences
which.edge

Identifies Edges of a Tree
read.caic

Read Tree File in CAIC Format
read.nexus

Read Tree File in Nexus Format
read.nexus.data

Read Character Data In NEXUS Format
rtt

Root a Tree by Root-to-Tip Regression
zoom

Zoom on a Portion of a Phylogeny
seg.sites

Find Segregating Sites in DNA Sequences
summary.phylo

Print Summary of a Phylogeny
trans

Translation from DNA to Amino Acid Sequences
rlineage

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

Variance-Covariance Matrix to Tree
weight.taxo

Define Similarity Matrix
yule.cov

Fits the Yule Model With Covariates
yule.time

Fits the Time-Dependent Yule Model
root

Roots Phylogenetic Trees
speciesTree

Species Tree Estimation
stree

Generates Systematic Regular Trees
woodmouse

Cytochrome b Gene Sequences of Woodmice
write.dna

Write DNA Sequences in a File
write.nexus

Write Tree File in Nexus Format
write.nexus.data

Write Character Data in NEXUS Format
SDM

Construction of Consensus Distance Matrix With SDM
DNAbin

Manipulate DNA Sequences in Bit-Level Format