stripTranscriptVersions: Strip transcript identifier versions

stripTranscriptVersionsR Documentation

Strip transcript identifier versions

Description

Strip transcript identifier versions

Usage

stripTranscriptVersions(object, ...)

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

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

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

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

Arguments

object

Object.

...

Additional arguments.

Details

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

Value

Modified object. Contains transcript identifiers without version numbers.

Note

Updated 2023-11-28.

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

See Also

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

Examples

## Ensembl.
stripTranscriptVersions("ENST00000431238.7")

## GENCODE.
stripTranscriptVersions("ENST00000493373.5_7")
stripTranscriptVersions("ENST00000431238.7_PAR_Y")

## WormBase (no modification).
stripTranscriptVersions("cTel79B.1")

acidgenomics/r-acidgenomes documentation built on Jan. 12, 2024, 4:06 a.m.