stripTranscriptVersions: Strip transcript identifier versions

stripTranscriptVersionsR Documentation

Strip transcript identifier versions

Description

Strip transcript identifier versions

Usage

stripTranscriptVersions(object, ...)

## S4 method for signature 'SummarizedExperiment'
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 2021-08-09.

See Also

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

Examples

data(SummarizedExperiment_transcripts, package = "AcidTest")
rowData <- SummarizedExperiment::rowData

## SummarizedExperiment ====
object <- SummarizedExperiment_transcripts
head(rowData(object)[["txId"]])
rownames(object) <- as.character(rowData(object)[["txId"]])
head(rownames(object))
object <- stripTranscriptVersions(object)
head(rowData(object)[["txId"]])
head(rownames(object))

acidgenomics/r-acidexperiment documentation built on Jan. 17, 2024, 7:56 p.m.