addIds {tximeta} | R Documentation |
For now this just works with SummarizedExperiments with Ensembl gene or transcript IDs. See example of usage in tximeta vignette.
addIds(se, column, gene = FALSE)
se |
the SummarizedExperiment |
column |
the name of the new ID to add (a |
gene |
logical, whether the rows are genes or transcripts (default is FALSE) |
a SummarizedExperiment
example(tximeta) library(org.Dm.eg.db) se <- addIds(se, "REFSEQ", gene=FALSE)