InapplicableFitch: Calculate parsimony score with inapplicable data

Description Usage Arguments Value Author(s) See Also Examples

Description

Uses code modified from the Morphy library to calculate a parsimony score in datasets that contain inapplicable data

Usage

1
InapplicableFitch(tree, dataset)

Arguments

tree

A tree of class phylo.

dataset

A phylogenetic data matrix of class phyDat, whose names correspond to the labels of any accompanying tree.

Value

This function returns the elements from a list containing:

The elements to return are specified by the parameter detail. If a single element is requested (default) then just that element will be returned If multiple elements are requested then these will be returned in a list.

Author(s)

Martin R. Smith (using C code adapted from MorphyLib, author Martin Brazeau)

See Also

MorphyDat

BasicSearch

Examples

1
2
3
data(inapplicable.datasets)
tree <- TreeSearch::RandomTree(inapplicable.phyData[[1]])
result <- InapplicableFitch(tree, inapplicable.phyData[[1]])

ms609/inapplicable documentation built on May 23, 2019, 7:49 a.m.