is_uniprot | R Documentation |
This function checks only the format of the IDs, no guarantee that these IDs exist in UniProt.
is_uniprot(identifiers)
identifiers |
Character: one or more identifiers (typically a single string, a vector or a data frame column). |
Logical: true if all elements in the input (except NAs) looks like valid UniProt IDs. If the input is not a character vector, 'FALSE' is returned.
is_uniprot(all_uniprot_acs())
# [1] TRUE
is_uniprot("P00533")
# [1] TRUE
is_uniprot("pizza")
# [1] FALSE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.