Description Usage Arguments Details Value Author(s) See Also
View source: R/subset.pyRAD.loci.R
This function returns a dataset (at this point, only in
DNAStringSet
format) from a pyRAD.loci
object,
subsetting by loci and taxa provided as arguments
1 2 3 4 5 6 7 |
x |
an object of class |
loci |
a character vector of loci to include; defaults to all loci |
taxa |
a character vector of taxa to include; defaults to all taxa |
format |
format for DNA matrix; at this point, only |
reportInterval |
interval (number of loci) for reporting progress |
mins |
minimum number of individuals required to return locus data |
nucVarType |
nucleotide variability to consider in screening for polymorphism: 'relaxed' for all nucleotides, including ambiguities other than 'N', and counting all variable sites; 'strict' for only A,C,G,T, still counting all variable sites; and 'verystrict' for only A,C,G,T, countin only parsimony- informative sites. |
use.tidyName |
choose whether names are passed through tidyName |
snpsOnly |
choose whether you only want to get SNPs back, or whole locus sequences |
cores |
how many processing cores to use; if |
... |
additional arguments passed to tidyName |
Probably it would make sense to wrap some of the functioning of
gen.RAD.loci.datasets
into this function, but for now they
are separated.
A list with values:
DNA |
a list of datasets, one per locus, defined by |
variable |
a boolean vector, indicating which loci are variable according to the criterion provided in arguments |
ntaxa |
an integer vector, indicating how many taxa are in each locus |
Andrew Hipp
gen.RAD.loci.datasets
,
filter.by
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.