Skip to content

DomBennett/treeman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

treeman

Build StatusCoverage StatusCRAN downloadsRdoc

An R package for manipulating phylogentic trees using an intuitive S4 class structure.

The treeman R package provides a list based class for encoding phylogenetic trees in R, making manipulating phylogenetic trees easier to code and more efficient to run. treeman is aimed to be fast, simple and intuitive.

Installation

With CRAN:

install.packages('treeman')

Installing the development copy via GitHub

library(devtools)
install_github('dombennett/treeman')

Quick guide

# working with the TreeMan class
library(treeman)
?TreeMan  # check the documentation
tree <- randTree(10)  # generate a random tree of 10 tips
summary(tree)  # check key stats
tree["tips"]  # extract key stats

For more details check out the wiki.

Licence

GPL-2

Status

Version 1.1 released.

Reference

Bennett, D.J., Sutton, M.D. & Turvey, S.T., 2017. treeman: an R package for efficient and intuitive manipulation of phylogenetic trees. BMC Research Notes, 10(1), p.30. Available online

Author

D.J. Bennett (but I welcome pull requests!)