Description Usage Arguments Value Author(s) See Also Examples
Uses code modified from the Morphy library to calculate a parsimony score in datasets that contain inapplicable data
1 | InapplicableFitch(tree, dataset)
|
tree |
A tree of class |
dataset |
A phylogenetic data matrix of class |
This function returns the elements from a list containing:
The total parsimony score
The parsimony score associated with each character
A matrix comprising character reconstructions for each node after the final pass
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.
Martin R. Smith (using C code adapted from MorphyLib, author Martin Brazeau)
1 2 3 | data(inapplicable.datasets)
tree <- TreeSearch::RandomTree(inapplicable.phyData[[1]])
result <- InapplicableFitch(tree, inapplicable.phyData[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.