nuc.div(x, variance = FALSE, pairwise.deletion = FALSE)
variance = TRUE
). The variance of the estimated diversity uses formula (10.9) from Nei
(1987). This applies only if all sequences are of the same lengths,
and cannot be used if pairwise.deletion = TRUE
. A bootstrap
estimate may be in order if you insist on using the latter option.
base.freq
, GC.content
,
theta.s
, seg.sites
data(woodmouse)
nuc.div(woodmouse)
nuc.div(woodmouse, TRUE)
nuc.div(woodmouse, FALSE, TRUE)
Run the code above in your browser using DataLab