X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=man%2Fdist.dna.Rd;h=394baf57ba2ec75423650b190c66d505033c2341;hb=9f4eb32b3354f76ec0f13f9ca58ad63b082fecca;hp=2cee8e2f95898bd5fb8df0ee86b5c81f6bd5d894;hpb=f3426364b40c7c0e6aadf6ea2690716425abdfc9;p=ape.git diff --git a/man/dist.dna.Rd b/man/dist.dna.Rd index 2cee8e2..394baf5 100644 --- a/man/dist.dna.Rd +++ b/man/dist.dna.Rd @@ -7,7 +7,9 @@ dist.dna(x, model = "K80", variance = FALSE, base.freq = NULL, as.matrix = FALSE) } \arguments{ - \item{x}{a matrix or a list containing the DNA sequences.} + \item{x}{a matrix or a list containing the DNA sequences; this must be + of class \code{"DNAbin"} (use \code{\link{as.DNAbin}} is they are + stored as character).} \item{model}{a character string specifying the evlutionary model to be used; must be one of \code{"raw"}, \code{"N"}, \code{"JC69"}, \code{"K80"} (the default), \code{"F81"}, \code{"K81"}, @@ -40,6 +42,7 @@ dist.dna(x, model = "K80", variance = FALSE, brief description is given below; more details can be found in the References. +\itemize{ \item{``raw'', ``N''}{This is simply the proportion or the number of sites that differ between each pair of sequences. This may be useful to draw ``saturation plots''. The options \code{variance} and @@ -110,7 +113,7 @@ dist.dna(x, model = "K80", variance = FALSE, \item{``paralin''}{Lake (1994) developed the paralinear distance which can be viewed as another variant of the Barry--Hartigan distance.} -} +}} \value{ an object of class \link[stats]{dist} (by default), or a numeric matrix if \code{as.matrix = TRUE}. If \code{model = "BH87"}, a numeric @@ -173,7 +176,7 @@ dist.dna(x, model = "K80", variance = FALSE, substitutions in the control region of mitochondrial DNA in humans and chimpanzees. \emph{Molecular Biology and Evolution}, \bold{10}, 512--526. } -\author{Emmanuel Paradis \email{Emmanuel.Paradis@mpl.ird.fr}} +\author{Emmanuel Paradis} \seealso{ \code{\link{read.GenBank}}, \code{\link{read.dna}}, \code{\link{write.dna}}, \code{\link{DNAbin}},