Profile Parsimony (Faith & Trueman, 2001) finds the tree that is most faithful to the information contained within a given dataset. It is the ‘exact solution’ that implied weights parsimony approximates. For more information on the philosophy and mathematics of profile parsimony, see the companion vignette.
Profile Parsimony is currently implemented in “TreeSearch” for characters with up to two parsimony-informative states. (Further states are treated as ambiguous, whilst retaining as much information as possible.)
A companion vignette gives details on installing the package and getting up and running.
Once installed, load the inapplicable package into R using
In order to reproduce the random elements of this document, set a random seed:
Here’s an example of using the package to conduct tree search with
profile parsimony. You can load
your own dataset, but for this example, we’ll use a simulated
dataset that comes bundled with the
Unless a starting tree is provided, tree search will from a random addition tree:
##  552.6187
We could alternatively use a random or neighbour-joining tree:
##  783.324
##  540.2259
We search for trees with a better score using TBR rearrangements and the parsimony ratchet (Nixon, 1999):
We’ve used very low values of
maxHits for a rapid run, so this
is not necessarily a thorough enough search to find a globally optimal
tree. Nevertheless, let’s see the resultant tree, and its score:
##  512.1181
The default parameters may not be enough to find the optimal tree;
?MaximizeParsimony to view all search parameters – or
keep repeating the search until tree score stops improving.
In parsimony search, it is good practice to consider trees that are slightly suboptimal (Smith, 2019).
Here, we’ll take a consensus that includes all trees that are
suboptimal by up to 3 bits. To sample this region of tree space well,
the trick is to use large values of
ratchIter, and small values of
searchiter, so that many runs don’t quite hit the optimal
tree. In a serious study, you would want to sample many more than the 3
Ratchet hits (
ratchHits) we’ll settle for here, probably
using many more Ratchet iterations.
The consensus of these slightly suboptimal trees provides a less resolved, but typically more reliable, summary of the signal with the phylogenetic dataset (Smith, 2019):
## ## 512.118 513.229 513.897 513.966 514.739 514.849 ## 2 1 1 3 1 1