Strip exon identifier versions
Source:R/AllGenerics.R, R/stripExonVersions-methods.R
stripExonVersions.RdStrip exon identifier versions
Usage
stripExonVersions(object, ...)
# S4 method for class 'Matrix'
stripExonVersions(object)
# S4 method for class 'character'
stripExonVersions(object)
# S4 method for class 'integer'
stripExonVersions(object)
# S4 method for class 'matrix'
stripExonVersions(object)Details
Intentionally does not strip transcript versions, if defined in the object.
To perform that action in parallel, use stripVersions instead.
Note
Updated 2024-01-02.
This method is strict, and will only strip Ensembl exon identifiers
beginning with "ENS.*G".
Examples
## Ensembl.
stripExonVersions("ENSG00000002586.20")
#> ! No exon versions to modify.
#> [1] "ENSG00000002586.20"
## GENCODE.
stripExonVersions("ENSG00000116288.13_10")
#> ! No exon versions to modify.
#> [1] "ENSG00000116288.13_10"
stripExonVersions("ENSG00000002586.20_PAR_Y")
#> ! No exon versions to modify.
#> [1] "ENSG00000002586.20_PAR_Y"