Rpars(X, path=NULL, ...)
"phylo"
that is the optimized 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; thorough
logical value indicating whether to conduct a more thorough search (defaults to thorough=TRUE
); nsave
number of trees to save if multiple equally parsimonious trees are found (defaults to nsave=10000
); 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); 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 pars program in PHYLIP can be found here Rdnaml
, Rdnapenny
data(primates.bin)
tree<-Rpars(primates.bin)
Run the code above in your browser using DataLab