Rmix(X, path=NULL, ...)
"phylo"
or "multiPhylo"
that is the tree or trees with the best parsimony score. tree$score
gives the parsimony score, for "phylo"
object tree
.quiet
suppress some output to R console (defaults to quiet = FALSE
); tree
object of class "phylo"
- if supplied, then the parsimony score will be computed on a fixed input topology; mixture
, a vector containing "W"
and "C"
in upper or lower case indicating which characters should be evaluated using Wagner (Eck & Dayhoff 1966; Kluge & Farris 1969) or Camin-Sokal (Camin & Sokal 1965) parsimony methods, respectively - this argument takes precedence over method
(see below); method
either "Wagner"
or "Camin-Sokal"
, in upper or lower case, indicating whether Wagner (Eck & Dayhoff 1966; Kluge & Farris 1969) or Camin-Sokal (Camin & Sokal 1965) parsimony should be used; random.order
add taxa to tree in random order (defaults to random.order = TRUE
); random.addition
number of random addition replicates for random.order = TRUE
(defaults to random.addition = 10
); threshold
threshold value for threshold parsimony (defaults to ordinary parsimony); ancestral
a vector of length equal to the number of columns in X
containing the the ancestral state at the root of the tree for each character, these should be "0"
, "1"
, and "?"
; weights
vector of weights of length equal to the number of columns in X
(defaults to unweighted); outgroup
outgroup if outgroup rooting of the estimated tree is desired; and cleanup
remove PHYLIP input & output files after the analysis is completed (defaults to cleanup = TRUE
).
More information about the mix program in PHYLIP can be found here Rdnapars
data(primates.bin)
tree<-Rmix(primates.bin)
Run the code above in your browser using DataLab