[,dartR,ANY,ANY,ANY-method | R Documentation |
indexing dartR objects correctly...
## S4 method for signature 'dartR,ANY,ANY,ANY'
x[i, j, ..., pop = NULL, treatOther = TRUE, quiet = TRUE, drop = FALSE]
x |
dartR object |
i |
index for individuals |
j |
index for loci |
... |
other parameters |
pop |
list of populations to be kept |
treatOther |
elements in other (and ind.metrics & loci.metrics) as indexed as well. default: TRUE |
quiet |
warnings are suppressed. default: TRUE |
drop |
reduced to a vector if a single individual/loci is selected. default: FALSE [should never set to TRUE] |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.