Analyses of Phylogenetics and Evolution
Overview
Functions for reading, writing, plotting, and manipulating phylogenetic trees, analyses of comparative data in a phylogenetic framework, ancestral character analyses, analyses of diversification and macroevolution, computing distances from DNA sequences, reading and writing nucleotide sequences as well as importing from BioConductor, and several tools such as Mantel's test, generalized skyline plots, graphical exploration of phylogenetic data (alex, trex, kronoviz), estimation of absolute evolutionary rates and clock-like trees using mean path lengths and penalized likelihood, dating trees with non-contemporaneous sequences, translating DNA into AA sequences, and assessing sequence alignments. Phylogeny estimation can be done with the NJ, BIONJ, ME, MVR, SDM, and triangle methods, and several methods handling incomplete distance matrices (NJ*, BIONJ*, MVR*, and the corresponding triangle method). Some functions call external applications (PhyML, Clustal, T-Coffee, Muscle) whose results are returned into R.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
- NOTE12 OK, 2 NOTE2026-04-22
- ERROR11 OK, 2 NOTE, 1 ERROR2026-04-18
- NOTE12 OK, 2 NOTE2026-03-10
Documentation
- Help pages
- 188 (1 internal)includes a package overview page
- Examples that run
- 90%131 run in a plain check · 13 never run · 1 hold no code
- Exported functions with examples
- 80%
- Documented parameters
- 94%
- Return-value docs
- 91%
- Help pages citing references
- 51%
- Drawing Phylogenies PDF
- Moran's I PDF
- Random Topology PDF
Downloads
Repository
- PRs merged (all time)
- 64%
- Median days to close, 50 most recently updated closed issues
- 10
- Median days to close, 50 most recently updated closed PRs
- 6
Stars over time
Forks over time
Issues over time
PRs over time
Commits over time
2 development-tooling and community-health practices detected across 1 family in the upstream repository
Checks run against github.com/emmanuelparadis/ape on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing ape adds 2 packages (2 with compiled code, 2.0 MB of source tarballs). Heaviest: Rcpp 1.8 MB, digest 231 KB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 252 more dependents and 100 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Maintainer since 0.1 (2002)
Show 8 peopleHide 8 people
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 5.8-1Latest
- RR 4.4.0 released · 2024-04-24
- 5.82024-04-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 5.7-12023-03-13 · diff ↗
- 5.72023-02-16 · diff ↗ ·
added 7 exports
drop.tip.multiPhylo, drop.tip.phylo, efastats, keep.tip.multiPhylo, keep.tip.phylo, letterconf, muscle5 - RR 4.2.0 released · 2022-04-22
- 5.6-22022-03-02 · diff ↗
- 5.6-12022-01-07 · diff ↗
- 5.6
- RR 4.1.0 released · 2021-05-18
- 5.5
- 5.4-1
- 5.42020-06-03 · diff ↗ ·
removed 2 exports
neworder_phylo, neworder_pruningwiseadded 2 exports
getAnnotationsGenBank, latag2n
Show 123 earlier eventsHide 123 earlier events
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 5.32019-03-17 · diff ↗ ·
removed 1 export
pattern:^[^\\.]added 322 exports
[.DNAbin, AAsubst, abbreviateGenus, ace, add.scale.bar, additive, alex, all.equal.DNAbin, all.equal.phylo, alview, arecompatible, as.AAbin, as.AAbin.character, as.alignment, as.bitsplits, as.bitsplits.prop.part, as.character.AAbin, as.character.DNAbin, as.DNAbin, as.DNAbin.alignment, as.DNAbin.character, as.DNAbin.list, as.evonet, as.evonet.phylo, as.hclust.phylo, as.igraph.evonet, as.igraph.phylo, as.list.AAbin, as.list.DNAbin, as.matching and 292 more - 5.22018-09-24 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 5.12018-04-05 · diff ↗
- 5.02017-10-30 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 4.12017-02-14 · diff ↗
- 4.02016-12-01 · diff ↗
- 3.52016-05-24 · diff ↗
- RR 3.3.0 released · 2016-05-03
- 3.42015-11-29 · diff ↗
- 3.32015-05-29 · diff ↗
- RR 3.2.0 released · 2015-04-16
- 3.22014-12-05 · diff ↗
- 3.1-42014-07-15 · diff ↗
- 3.1-32014-07-12 · diff ↗
- 3.1-22014-05-27 · diff ↗
- RR 3.1.0 released · 2014-04-10
- 3.1-12014-03-11 · diff ↗
- 3.12014-03-05 · diff ↗
- 3.0-112013-10-01 · diff ↗
- 3.0-102013-09-10 · diff ↗ ·
removed 1 export
pattern:.+added 4 exports
pattern:^[^\\.], .compressTipLabel, .uncompressTipLabel, .PlotPhyloEnv - 3.0-92013-07-19 · diff ↗
- RR 3.0.0 released · 2013-04-03
- 3.0-82013-04-02 · diff ↗
- 3.0-72013-01-21 · diff ↗
- 3.0-62013-01-18 · diff ↗
- 3.0-52012-10-08 · diff ↗
- 3.0-42012-08-01 · diff ↗
- 3.0-32012-04-24 · diff ↗
- 3.0-22012-04-05 · diff ↗
- RR 2.15.0 released · 2012-03-30
- 3.0-12012-02-20 · diff ↗
- 3.02012-02-10 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.82011-10-24 · diff ↗
- 2.7-32011-08-09 · diff ↗
- 2.7-22011-06-17 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.7-12011-03-26 · diff ↗
- 2.72011-03-17 · diff ↗
- 2.6-32011-02-18 · diff ↗
- 2.6-22010-12-08 · diff ↗
- 2.6-12010-11-03 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 2.62010-09-30 · diff ↗
- 2.5-32010-06-15 · diff ↗
- 2.5-22010-05-17 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.5-12010-04-06 · diff ↗
- 2.52010-02-02 · diff ↗
- 2.4-12009-11-23 · diff ↗
- RR 2.10.0 released · 2009-10-26
- 2.42009-10-05 · diff ↗
- 2.3-32009-09-22 · diff ↗
- 2.3-22009-07-21 · diff ↗
- 2.3-12009-06-23 · diff ↗
- RR 2.9.0 released · 2009-04-17
- 2.32009-03-30 · diff ↗
- 2.2-42009-02-09 · diff ↗
- 2.2-3
- RR 2.8.0 released · 2008-10-20
- 2.2-22008-10-09 · diff ↗
- 2.2-12008-07-11 · diff ↗
- 2.22008-05-08 · diff ↗
- RR 2.7.0 released · 2008-04-22
- 2.1-32008-03-21 · diff ↗
- 2.1-22008-02-29 · diff ↗
- 2.1-12008-02-01 · diff ↗
- 2.12008-01-04 · diff ↗
- 2.0-22007-11-17 · diff ↗
- RR 2.6.0 released · 2007-10-03
- 2.0-12007-09-07 · diff ↗
- 2.02007-09-07 · diff ↗
- 1.10-22007-07-07 · diff ↗
- 1.10-12007-06-19 · diff ↗
- 1.102007-05-01 · diff ↗
- RR 2.5.0 released · 2007-04-24
- 1.9-42007-03-27 · diff ↗
- 1.9-32007-02-28 · diff ↗
- 1.9-22007-01-24 · diff ↗
- 1.9-12006-12-14 · diff ↗
- 1.92006-11-20 · diff ↗
- RR 2.4.0 released · 2006-10-03
- 1.8-52006-09-18 · diff ↗
- 1.8-42006-07-24 · diff ↗
- 1.8-32006-06-06 · diff ↗
- RR 2.3.0 released · 2006-04-24
- 1.8-22006-03-24 · diff ↗
- 1.8-12006-02-17 · diff ↗
- 1.82005-12-19 · diff ↗
- RR 2.2.0 released · 2005-10-06
- 1.72005-09-19 · diff ↗
- 1.62005-06-03 · diff ↗
- 1.52005-04-19 · diff ↗
- RR 2.1.0 released · 2005-04-18
- 1.42004-12-23 · diff ↗
- 1.3-12004-11-12 · diff ↗
- 1.32004-11-04 · diff ↗
- RR 2.0.0 released · 2004-10-04
- 1.2-72004-09-29 · diff ↗
- 1.2-62004-09-17 · diff ↗
- 1.2-52004-08-24 · diff ↗
- 1.2-42004-08-07 · diff ↗
- 1.2-32004-05-24 · diff ↗
- RR 1.9.0 released · 2004-04-12
- 1.2-22004-03-19 · diff ↗
- 1.2-12004-02-04 · diff ↗
- 1.22004-01-07 · diff ↗
- RR 1.8.0 released · 2003-10-08
- 1.1-32003-09-05 · diff ↗
- 1.1-22003-07-15 · diff ↗
- 1.1-12003-06-06 · diff ↗
- 1.12003-06-03 · diff ↗
- RR 1.7.0 released · 2003-04-16
- 1.02003-03-04 · diff ↗
- 0.2-12002-10-28 · diff ↗
- 0.22002-10-04 · diff ↗
- RR 1.6.0 released · 2002-10-01
- 0.12002-08-31
- RR 1.5.0 released · 2002-04-29
Package metadata
- First published
- 2002-08-31
- Total releases
- 104 / 24 yrs
- License
- GPL-2 | GPL-3 OSI
- Minimum R
- ≥ 3.2.0
- Bundled data
- 125 KB / 16 files
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("ape")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.1093/bioinformatics/bty633.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.