Rkitsch(D, path=NULL , ...)
"phylo"
that is the NJ or UPGMA tree.quiet
suppress some output to R console (defaults to quiet = FALSE
); method
- can be "FM"
or "fm"
(for the Fitch-Margoliash criterion; Fitch & Margoliash 1967), "LS"
or "ls"
for the Cavalli-Sforza & Edwards (1967) least-squares criterion, or "ME"
or "me"
(for Minimum Evolution); tree
object of class "phylo"
- if supplied, then branch lengths are optimized & the optimality criterion is computed on the input tree; negative
a logical value indicating whether negative branch lengths should be permitted (defaults to negative = TRUE
; 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
); outgroup
outgroup if outgroup rooting of the estimated tree is desired; subreplicate
, a logical value indicating whether or not to perform the subreplication test of Felsenstein (1986); and cleanup
remove PHYLIP input & output files after the analysis is completed (defaults to cleanup = TRUE
). Note that for some reason subreplicate=TRUE
does not appear to work in the current version of kitsch.
More information about the kitsch program in PHYLIP can be found here Rfitch
data(primates)
D<-dist.dna(data(primates),model="JC")
tree<-Rkitsch(D)
Run the code above in your browser using DataLab