Learn R Programming

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

TreeSearch (version 0.4.3)

Phylogenetic Tree Search Using Custom Optimality Criteria

Description

Searches for phylogenetic trees that are optimal using a user-defined criterion. Handles inapplicable data using the algorithm of Brazeau, Guillerme and Smith (2019) . Implements Profile Parsimony (Faith and Trueman, 2001) , and Successive Approximations (Farris, 1969) .

Copy Link

Version

Install

install.packages('TreeSearch')

Monthly Downloads

702

Version

0.4.3

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Martin R. Smith

Last Published

July 9th, 2020

Functions in TreeSearch (0.4.3)

ICS

Information content per step
Evaluate

Evaluate tree
Fitch

Calculate parsimony score with inapplicable data
AllSPR

All SPR trees
InfoAmounts

Amount of information in each character
CharacterLength

Character length
MinimumLength

Minimum length
DoubleNNI

Double NNI
IWScore

Implied weights parsimony Score
MorphyWeights

Report the character weightings associated with a Morphy object
JackLabels

Label nodes with jackknife support values
MorphyTreeLength

Calculate parsimony score with inapplicable data
MorphyErrorCheck

Check for error whilst modifying Morphy object
ICSteps

Information Content Steps
LogisticPoints

Logistic Points Extract points from a fitted model
AsBinary

Convert a number to binary
RandomTreeScore

Parsimony score of random postorder tree
RearrangeEdges

Rearrange edges of a phylogenetic tree
MorphyBootstrap

Ratchet bootstrapper
SPR

Subtree Pruning and Rearrangement (SPR)
WithOneExtraStep

Number of trees with one extra step
Jackknife

Parsimony Ratchet
NNI

Nearest Neighbour Interchange (NNI)
IWTreeSearch

Search for most parsimonious trees
PhyDat2Morphy

Initialize a Morphy Object from a phyDat object
StopUnlessBifurcating

Check that all nodes in a tree are bifurcating.
Suboptimality

Tree suboptimality
TipsAreNames

Extract character data from dataset
SuccessiveApproximations

Tree Search using Successive Approximations
RandomMorphyTree

Random postorder tree
inapplicable.citations

Thirty Datasets with Inapplicable data
UniqueExceptHits

Unique trees (ignoring 'hits' attribute)
PrepareDataProfile

Prepare data for Profile Parsimony
IWScoreMorphy

Profile Parsimony Score
SuccessiveWeights

Successive Weights
congreveLamsdellMatrices

100 simulated data matrices
mpl_attach_symbols

Attach a caller-specified list of symbols.
mpl_delete_rawdata

Deletes the caller-input data.
mpl_delete_Morphy

Destroys an instance of a Morphy object.
mpl_apply_tipdata

Commits parameters prior to nodal set calculations.
inapplicable.datasets

Thirty Datasets with Inapplicable data
mpl_second_up_recon

Finalises the ancestral state reconstructions for characters with inapplicable values.
mpl_set_num_internal_nodes

Sets the number of internal nodes in the dataset
mpl_attach_rawdata

Attach raw character state data (i.e. tip data).
mpl_get_numtaxa

Retrieve the number of taxa (rows) in the dataset.
mpl_new_Morphy

Creates a new instance of a Morphy object
mpl_get_symbols

Retrieves the current list of symbols.
mpl_get_num_internal_nodes

Gets the number of internal nodal reconstruction sets being used by MorphyLib.
SetMorphyWeights

Set the character weightings associated with a Morphy object
UnloadMorphy

Destroy a Morphy Object
inapplicable.phyData

Thirty Datasets with Inapplicable data
mpl_set_parsim_t

Sets a character's parsimony function type
SingleCharMorphy

Morphy object from single character
mpl_second_down_recon

Performs the second nodal reconstructions for characters with inapplicability.
mpl_init_Morphy

Sets up the dimensions of the dataset.
summary.morphyPtr

Details the attributes of a morphy object
mpl_set_charac_weight

Set the weight of a character in the dataset
mpl_translate_error

Converts a numeric error code to human-readable format
TBR

Tree bisection and reconnection (TBR)
mpl_update_tip

Initial update of tip values following uppass reconstruction.
referenceTree

Tree topology for matrix simulation
mpl_update_lower_root

Updates the nodal sets for a lower ('dummy') root node
SPRWarning

TBR Warning Print a warning and return given tree
mpl_first_down_recon

Reconstructs the first (downpass) nodal reconstructions
mpl_get_charac_weight

Retrieve the weight of a character in the dataset
mpl_get_num_charac

Retrieve the number of character (columns) in the dataset.
mpl_first_up_recon

Reconstructs the second (uppass) nodal reconstructions.