Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?


Failed to load latest commit information.
Latest commit message
Commit time
June 7, 2022 15:46
January 25, 2023 12:33
November 9, 2022 12:23
January 24, 2023 14:12
January 24, 2023 07:51
January 16, 2023 14:11
June 19, 2020 09:29
January 22, 2023 23:57
January 21, 2023 17:59
October 14, 2022 11:19
January 20, 2023 15:33
January 25, 2023 12:33
November 24, 2022 15:20
July 28, 2022 10:57

R-CMD-check CRAN Status Badge CRAN Downloads


phangorn is a package for phylogenetic reconstruction and analysis in the R language. phangorn offers the possibility of reconstructing phylogenies with distance based methods, maximum parsimony or maximum likelihood (ML) and performing Hadamard conjugation. Extending the general ML framework, this package provides the possibility of estimating mixture and partition models. Furthermore, phangorn offers several functions for comparing trees, phylogenetic models or splits, simulating character data and performing congruence analyses.

You can install

  • the latest released version install.packages("phangorn")
  • the latest development version remotes::install_github("KlausVigo/phangorn")

To install the development version you may need to install the Biostrings and seqLogo package from bioconductor first:

if (!requireNamespace("BiocManager", quietly = TRUE))
BiocManager::install(c("Biostrings", "seqLogo"))

Also the development version usually depends on the latest ape development version and information to download can be found here. Additionally you may need to install on windows Rtools and on mac XCode and GFortran.

If you use phangorn please cite:

Schliep K.P. 2011. phangorn: phylogenetic analysis in R. Bioinformatics, 27(4) 592-593


phangorn is licensed under the GPLv2.