Rrestdist(X, path=NULL, ...)"rest.data" containing data for restriction sites.path = NULL, the R will search several paths for restdist. See details for more information."dist".
quiet suppress some output to R console (defaults to quiet = FALSE); method, the method for calculating the genetic distance - options are "Modified" (the default), and "Nei/Li" (Nei & Li 1979); data, the type of data - either "sites" or "fragments"; gamma alpha shape parameter of a gamma model of rate heterogeneity among sites (defaults to no gamma rate heterogeneity); kappa transition:transversion ratio (defaults to kappa = 2.0); site.length the restriction site length (defaults to site.length=6); and cleanup remove PHYLIP input & output files after the analysis is completed (defaults to cleanup = TRUE).More information about the restdist program in PHYLIP can be found here http://evolution.genetics.washington.edu/phylip/doc/restdist.html.
Obviously, use of any of the functions of this package requires that PHYLIP (Felsenstein 1989, 2013) should first be installed. Instructions for installing PHYLIP can be found on the PHYLIP webpage: http://evolution.genetics.washington.edu/phylip.html.
Felsenstein, J. (2013) PHYLIP (Phylogeny Inference Package) version 3.695. Distributed by the author. Department of Genome Sciences, University of Washington, Seattle.
Nei, M., Li, W.-H. (1979) Mathematical model for studying genetic variation in terms of restriction endonucleases. Proceedings of the National Academy of Sciences, 76, 5269-5273.
Rdnadist, Rgendist, Rprotdist
## Not run:
# data(restriction.data)
# D<-Rrestdist(restriction.data)
# ## End(Not run)
Run the code above in your browser using DataLab