selectAccessions,protdata-method | R Documentation |
Select certain elements from a protdata
object based on one or more accession and/or numeric indices. If keep==FALSE
, these indices are omitted instead of selected. Note that for selecting, one could also use the "[" method.
## S4 method for signature 'protdata' selectAccessions(object, i, keep = TRUE)
object |
A |
i |
Either a character or a factor vector containing accessions present in the |
keep |
A logical indicating whether the selected elements should be retained ( |
A reduced protdata
object containing only the elements specified in i
(if keep==TRUE
) or all elements except those specified in i
(if keep==FALSE
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.