strip_ens | R Documentation |
This function is simply a wrapper arond gsub for removing trailing IDs from ENSEMBL identifiers. All entries must start with 'ENS'. NAs are tolerated.
strip_ens(x)
x |
character vector containing ENSEMBL IDs |
character vector with trailing IDs removed
ids <- c("ENSG0000001.12", "ENSMUSG00021.3", "ENST00000556.2")
strip_ens(ids)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.