Usage
parsimony(tree, data, method="fitch", ...)
optim.parsimony(tree, data, method="fitch", cost=NULL, trace=1, rearrangements="NNI", ...)
pratchet(data, start=NULL, method="fitch", maxit=1000, k=10, trace=1, all=FALSE, rearrangements="NNI", ...)
fitch(tree, data, site = "pscore")
sankoff(tree, data, cost = NULL, site = "pscore")
random.addition(data, method="fitch")
CI(tree, data)
RI(tree, data)
acctran(tree, data)
Arguments
data
A object of class phyDat containing sequences.
tree
tree to start the nni search from.
method
one of 'fitch' or 'sankoff'.
cost
A cost matrix for the transitions between two states.
site
return either 'pscore' or 'site' wise parsimony scores.
trace
defines how much information is printed during optimisation.
rearrangements
SPR or NNI rearrangements.
start
a starting tree can be supplied.
maxit
maximum number of iterations in the ratchet.
k
number of rounds ratchet is stopped, when there is no improvement.
all
return all equally good trees or just one of them.
...
Further arguments passed to or from other methods (e.g. model="sankoff" and cost matrix).