Description Usage Arguments Value Author(s) References Examples
Calculate a tree's Profile Parsimony score with a given dataset, after Faith and Trueman (2001)
1 | ProfileScore(tree, dataset)
|
tree |
A tree of class |
dataset |
Dataset of class |
Zero minus the profile score (because the optimization algorithm assumes that smaller numbers are better)
Martin R. Smith
Faith, D. P. & Trueman, J. W. H. (2001). Towards an inclusive philosophy for phylogenetic inference. Systematic Biology 50:3, 331-350, doi: 10.1080/10635150118627
1 2 3 4 5 6 | data(referenceTree)
data(congreveLamsdellMatrices)
# In actual use, the dataset should be prepared with a much higher precision: try 1e+06?
# Of course, gaining higher precision takes substantially longer.
dataset <- PrepareDataProfile(congreveLamsdellMatrices[[42]], precision=1e+03)
ProfileScore(referenceTree, dataset)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.