stitch_remove_prefixes | R Documentation |
STITCH adds the NCBI Taxonomy ID as a prefix to Ensembl protein identifiers, e.g. "9606.ENSP00000170630", and "CID" followed by "s" or "m" (stereospecific or merged, respectively) in front of PubChem Compound Identifiers. It also pads the CID with zeros. This function removes these prefixes, leaving only the identifiers.
stitch_remove_prefixes(d, ..., remove = TRUE)
d |
Data frame, typically the output of |
... |
Names of columns to remove prefixes from. NSE is supported. |
remove |
Logical: remove the prefixes? If FALSE, this function does nothing. |
Data frame with prefixes removed in the specified columns.
stitch_actions
stitch_links
stitch_network
stitch_remove_prefixes(
data.frame(a = c('9606.ENSP00000170630', 'CIDs00012345')),
a
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.