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")

You may need to install first the Biostrings package from bioconductor

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

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.1.1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Klaus Schliep

Last Published

December 4th, 2016

Functions in phangorn (2.1.1)

dfactorial

Arithmetic Operators
pmlCluster

Stochastic Partitioning
cladePar

Utility function to plot.phylo
consensusNet

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

Plots a densiTree.
designTree

Compute a design matrix or non-negative LS
maxCladeCred

Maximum clade credibility tree
midpoint

Tree manipulation
yeast

Yeast alignment (Rokas et al.)
Ancestors

tree utility function
ancestral.pml

Ancestral character reconstruction.
cophenetic.networx

Pairwise Distances from a Phylogenetic Network
delta.score

Computes the $\delta$ score
dist.hamming

Pairwise Distances from Sequences
neighborNet

Computes a neighborNet from a distance matrix
modelTest

ModelTest
pmlMix

Phylogenetic mixture model
SOWH.test

Swofford-Olsen-Waddell-Hillis Test
splitsNetwork

Phylogenetic Network
dist.p

Pairwise Polymorphism P-Distances from DNA Sequences
distanceHadamard

Distance Hadamard
phyDat

Conversion among Sequence Formats
getClans

Clans, slices and clips
hadamard

Hadamard Matrices and Fast Hadamard Multiplication
NJ

Neighbor-Joining
nni

Tree rearrangements.
SH.test

Shimodaira-Hasegawa Test
simSeq

Simulate sequences.
as.splits

Splits representation of graphs and trees.
bab

Branch and bound for finding all most parsimonious trees
pmlPart

Partition model.
read.aa

Read Amino Acid Sequences in a File
superTree

Super Tree and Species Tree methods
upgma

UPGMA and WPGMA
addConfidences

Compare splits and add support values to an object
allTrees

Compute all trees topologies.
phangorn-package

Phylogenetic analysis in R
parsimony

Parsimony tree.
pml.fit

Internal maximum likelihood functions.
pml

Likelihood of a tree.
plot.networx

Phylogenetic networks
bootstrap.pml

Bootstrap
Laurasiatherian

Laurasiatherian data (AWCMEE)
lento

Lento plot
chloroplast

Chloroplast alignment