Learn R Programming

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

Claddis is an R package designed to import cladistic-type data sets (#NEXUS format) into R and perform disparity and rate tests.

You can install Claddis in R via CRAN with:

install.packages("Claddis", dependencies = TRUE)

Or from github with:

devtools::install_github("graemetlloyd/Claddis")

And load it into memory using:

library(Claddis)

Basic help can be found with:

?Claddis

And clicking on the Index link at the base of the help file will reveal links to every available function.

Note that I have previously produced various tutorials for the package, but that current substantial reworking of the core code means these will no longer work and so the example code in each function's help file is the current best substitute for this. Please refer to package documentation for the most up-to-date usage of Claddis.

Citation

Claddis was recently placed back on CRAN (version 0.3.0) but will continue to be developed on github. The first formal paper describing Claddis was published as Lloyd (2016), with further discussion in Lloyd (2018):

Lloyd, G. T., 2016. Estimating morphological diversity and tempo with discrete character-taxon matrices: implementation, challenges, progress, and future directions. Biological Journal of the Linnean Society, 118, 131-151.

Lloyd, G. T., 2018. Journeys through discrete-character morphospace: synthesizing phylogeny, tempo, and disparity. Palaeontology, 61, 637-645.

Copy Link

Version

Install

install.packages('Claddis')

Monthly Downloads

515

Version

0.3.4

License

GPL (>= 2)

Maintainer

Graeme T. Lloyd

Last Published

December 5th, 2019

Functions in Claddis (0.3.4)

CompactifyMatrix

Collapses matrix to unique character state distributions
Day2016

Character-taxon matrix from Day et al. 2016
BlockAligner

Align a phylogenetic matrix block
ChangesInBins

Counts the changes in a series of time bins
ChronoPhyloMorphospacePlot

Chronophylomorphospace Plot
AncStateEstMatrix

Ancestral Character State Estimation
CorrectRootTime

Corrects root.time after taxa have been pruned from a tree
Claddis-package

Measuring Morphological Diversity and Evolutionary Tempo
DolloSCM

Stochastic Character Map For Dollo Character
DiscreteCharacterRate

Discrete character rates across trees, time, and character types
FindAncestor

Find ancestor
GetAllStateChanges

Finds all state changes on a tree using stochastic character mapping
Gauthier1986

Character-taxon matrix from Gauthier 1986
EdgeLengthsInBins

Edge-lengths present in time-bins
EdgeMatch

Edge matching function
PlotCharacterChanges

Plots character changes on branches
GetNodeAges

Returns node ages for a time-scaled tree
MorphMatrix2PCoA

Principal Coordinates on a Cladistic Matrix
PhyloCharCompletenessInBins

Phylogenetic character completeness in time-bins
GetDescendantEdges

Gets descendant edges of an internal node
MorphDistMatrix

Get distance matrices from a cladistic matrix
MorphospacePlot

Plot Morphopace
MultiMorphospacePlot

Plot Multiple Morphopaces
WriteMorphTNT

Writes out a morphological TNT data file
SafeTaxonomicReinsertion

Reinsert Safely Removed Taxa Into A Tree
StackPlot

Plot Stacked Ordination Spaces
MatrixPruner

Prunes a character matrix of characters or taxa
MakeMorphMatrix

Creates a morphological data file from a matrix
Michaux1989

Character-taxon matrix from Michaux 1989
FindLinkedEdges

Find linked edges for a tree
ReadMorphNexus

Reads in a morphological #NEXUS data file
SafeTaxonomicReduction

Safe Taxonomic Reduction
MinSpanTreeEdges

Get edges of minimum spanning tree
TrimMorphDistMatrix

Trims a morphological distance matrix
WriteMorphNexus

Writes out a morphological #NEXUS data file