Searches for a tree that is optimal under the Successive Approximations criterion Farris1969TreeSearch.
SuccessiveApproximations(
tree,
dataset,
outgroup = NULL,
k = 3,
maxSuccIter = 20,
ratchetHits = 100,
searchHits = 50,
searchIter = 500,
ratchetIter = 5000,
verbosity = 0,
suboptimal = 0.1
)SuccessiveWeights(tree, dataset)
SuccessiveApproximations()
returns a list of class multiPhylo
containing optimal (and slightly suboptimal, if suboptimal > 0) trees.
SuccessiveWeights()
returns the score of a tree, given the
weighting instructions specified in the attributes of the dataset.
A tree of class phylo
.
A phylogenetic data matrix of phangorn class
phyDat
, whose names correspond to the labels of any accompanying tree.
Perhaps load into R using ReadAsPhyDat
.
Additive (ordered) characters can be handled using
Decompose
.
if not NULL, taxa on which the tree should be rooted
Constant for successive approximations, see Farris 1969 p. 379
maximum iterations of successive approximation
maximum hits for parsimony ratchet
maximum hits in tree search
maximum iterations in tree search
maximum iterations of parsimony ratchet
Integer specifying level of messaging; higher values give
more detailed commentary on search progress. Set to 0
to run silently.
retain trees that are this proportion less optimal than the optimal tree
Other custom search functions:
EdgeListSearch()
,
Jackknife()
,
MorphyBootstrap()