stripGeneVersions: Strip gene identifier versions

stripGeneVersionsR Documentation

Strip gene identifier versions

Description

Strip gene identifier versions

Usage

stripGeneVersions(object, ...)

## S4 method for signature 'Matrix'
stripGeneVersions(object)

## S4 method for signature 'character'
stripGeneVersions(object)

## S4 method for signature 'integer'
stripGeneVersions(object)

## S4 method for signature 'matrix'
stripGeneVersions(object)

Arguments

object

Object.

...

Additional arguments.

Details

Intentionally does not strip transcript versions, if defined in the object. To perform that action in parallel, use stripVersions instead.

Value

Modified object. Contains gene identifiers without version numbers.

Note

Updated 2022-03-09.

This method is strict, and will only strip Ensembl gene identifiers beginning with "ENS.*G".

See Also

  • https://www.ensembl.org/info/genome/stable_ids/index.html

Examples

## Ensembl.
stripGeneVersions("ENSG00000002586.20")

## GENCODE.
stripGeneVersions("ENSG00000116288.13_10")
stripGeneVersions("ENSG00000002586.20_PAR_Y")

acidgenomics/AcidGenomes documentation built on Dec. 10, 2023, 10:35 p.m.