Last chance! 50% off unlimited learning
Sale ends in
dist.dna(x, y = NULL, variance = FALSE, gamma = NULL,
method = "Kimura", basefreq = NULL, GCcontent = NULL)
dist.dna.JukesCantor(x, y, variance = FALSE, gamma = NULL)
dist.dna.TajimaNei(x, y, variance = FALSE, basefreq = NULL)
dist.dna.Kimura(x, y, variance = FALSE, gamma = NULL)
dist.dna.Tamura(x, y, variance = FALSE, GCcontent = NULL)
dist.dna.TamuraNei(x, y, variance = FALSE, basefreq = NULL,
gamma = NULL)
read.GenBank
).gamma =
NULL
so no correction is applied).FALSE
so the variances are not
computed."JukesCantor"
,
"TajimaNei"
, "Kimura"
(the default), "Tamura"
,
and "TamuraN
method = "TajimaNei"
). By default, the
base frequencies are computed from the whole sample of sequences.method = "Tamura"
). By default, this
percentage is computed from the whole sample of sequences.x
) as colnames and rownames (if
variance = FALSE
, the default), or a list of two matrices names
distances
and variance
, respectively (if variance =
TRUE
).dist.dna
, if the argument y
is specified,
then it is binded to x
, and the distances between all columns
of the resulting matrix are computed; otherwise, x
must be a
matrix or a list. The four other functions take two single sequences
as arguments.
The function dist.dna
actually calls one of the other function
depending on the argument method
(by default "Kimura"
)
eventually passing the relevant arguments. For instance, specifying a
value for the option basefreq
has no effect if the option
method
is set to "Kimura" or "JukesCantor" (the base
frequencies are assumed to be equal to 0.25 in both models).
The molecular evolutionary models available through the option
method
have been extensively described in the literature. A
brief description is given below; more details can be found in the
References.
dist.dna
and no base
frequencies are given (basefreq = NULL
), then they are
computed from the whole vectors, matrix, or list given as argument. If
the distances are computed with the function dist.dna.TajimaNei
and no base frequencies are given, then they are computed from both
vectors given as argument.}
read.GenBank
, read.dna
, write.dna
,
dist.gene
, dist.phylo