Learn R Programming

⚠️There's a newer version (2.12.1) of this package.Take me there.

phangorn

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 devtools::install_github("KlausVigo/phangorn")

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

source("https://bioconductor.org/biocLite.R")
biocLite("Biostrings", "seqLogo")

Also the development version usually depends on tha latest ape development version and information to download can be found here

If you use phangorn please cite:

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

License

phangorn is licensed under the GPLv2.

Copy Link

Version

Install

install.packages('phangorn')

Monthly Downloads

20,555

Version

2.4.0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus Schliep

Last Published

February 15th, 2018

Functions in phangorn (2.4.0)

as.networx

Phylogenetic networks
getClans

Clans, slices and clips
phangorn-internal

Internal phangorn Functions
densiTree

Plots a densiTree.
fitch

Parsimony tree.
hadamard

Hadamard Matrices and Fast Hadamard Multiplication
multiphyDat2pmlPart

Partition model.
maxCladeCred

Maximum clade credibility tree
dist.p

Pairwise Polymorphism P-Distances from DNA Sequences
distanceHadamard

Distance Hadamard
mast

Maximum agreement subtree
read.aa

Read Amino Acid Sequences in a File
allSplits

Splits representation of graphs and trees.
designTree

Compute a design matrix or non-negative LS
treedist

Distances between trees
read.nexus.splits

Function to import and export splits and networks
simSeq

Simulate sequences.
upgma

UPGMA and WPGMA
ldfactorial

Arithmetic Operators
phangorn-package

Phylogenetic analysis in R
phyDat

Conversion among Sequence Formats
identify.networx

Identify splits in a network
lento

Lento plot
dist.hamming

Pairwise Distances from Sequences
discrete.gamma

Internal maximum likelihood functions.
neighborNet

Computes a neighborNet from a distance matrix
nni

Tree rearrangements.
pml.control

Likelihood of a tree.
writeDist

Writing and reading distances in phylip and nexus format
yeast

Yeast alignment (Rokas et al.)
getRoot

Tree manipulation
splitsNetwork

Phylogenetic Network
superTree

Super Tree methods
modelTest

ModelTest
pmlCluster

Stochastic Partitioning
pmlMix

Phylogenetic mixture model
SH.test

Shimodaira-Hasegawa Test
SOWH.test

Swofford-Olsen-Waddell-Hillis Test
add.tips

Add tips to a tree
Laurasiatherian

Laurasiatherian data (AWCMEE)
NJ

Neighbor-Joining
allTrees

Compute all trees topologies.
ancestral.pml

Ancestral character reconstruction.
Ancestors

tree utility function
CI

Consistency Index and Retention Index
createLabel

Compare splits and add support values to an object
cladePar

Utility function to plot.phylo
cophenetic.networx

Pairwise Distances from a Phylogenetic Network
bootstrap.pml

Bootstrap
delta.score

Computes the \(\delta\) score
chloroplast

Chloroplast alignment
bab

Branch and bound for finding all most parsimonious trees
consensusNet

Computes a consensusNetwork from a list of trees Computes a networx object from a collection of splits.
coalSpeciesTree

Species Tree