stripTranscriptVersions | R Documentation |
Strip transcript identifier versions
stripTranscriptVersions(object, ...)
## S4 method for signature 'SummarizedExperiment'
stripTranscriptVersions(object)
object |
Object. |
... |
Additional arguments. |
Intentionally does not strip gene versions, if defined in the object.
To perform that action in parallel, use stripGeneVersions
instead.
Modified object. Contains transcript identifiers without version numbers.
Updated 2021-08-09.
https://www.ensembl.org/info/genome/stable_ids/index.html
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.