subset-sample_sets | R Documentation |
You can subset sample_sets by identifier or by position using
the `[`
operator.
## S4 method for signature 'sample_sets,missing,missing,missing' x[i, j, ..., drop = FALSE] ## S4 method for signature 'sample_sets,numeric,missing,missing' x[i, j, ..., drop = FALSE] ## S4 method for signature 'sample_sets,character,missing,missing' x[i, j, ..., drop = FALSE]
x |
A sample_sets object. |
i |
Position of the identifier or the name of the identifier itself. |
j |
Not used. |
... |
Additional arguments not used here. |
drop |
Not used. |
A sample_sets object.
# Get a few sample sets: my_pss <- get_sample_sets(sprintf('PSS%06d', 42:48)) # # Subsetting by position # my_pss[c(1, 3)] # # Subsetting by sample set identifier (character) # my_pss['PSS000042']
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.