addIds {tximeta}R Documentation

Add IDs to rowRanges of a SummarizedExperiment

Description

For now this just works with SummarizedExperiments with Ensembl gene or transcript IDs. See example of usage in tximeta vignette.

Usage

addIds(se, column, gene = FALSE)

Arguments

se

the SummarizedExperiment

column

the name of the new ID to add (a column of the org database)

gene

logical, whether the rows are genes or transcripts (default is FALSE)

Value

a SummarizedExperiment

Examples


example(tximeta)
library(org.Dm.eg.db)	
se <- addIds(se, "REFSEQ", gene=FALSE)


[Package tximeta version 1.0.3 Index]