Description Usage Arguments Details Value Author(s) See Also Examples
View source: R/lengths.report.R
Return the lengths of all loci in a pyRAD.loci object
1 2 3 | lengths.report(dat, numtodo = 10,
reportInterval = 2000,
high.mem = TRUE)
|
dat |
an object of class |
numtodo |
an integer specifying how many loci to return the length of |
reportInterval |
how many loci between reports of time required to complete when using
|
high.mem |
forces the code to loop through instead of using |
Called by summary.pyRAD.loci
, and thus not ordinarily needed by users.
If looping is used to get lengths, the function runs very slowly, and
reportInterval
can be useful. In early tests, I was having memory allocation
issues, so high.mem
was useful. I haven't needed it since then, but
maybe you will.
A named vector of class integer
, with names corresponding to loci whose lengths are returned
Andrew Hipp
read.pyRAD
,
summary.pyRAD.loci
1 2 3 4 | data(oak.rads)
lengths.report(oak.rads, -1) # returns all loci
lengths.report(oak.rads, 20) # returns only the first 20 loci
identical(oak.rads$radSummary$locus.lengths, lengths.report(oak.rads, -1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.