addIds | R Documentation |
For now this function just works with SummarizedExperiments
with Ensembl gene or transcript IDs. See example
of usage in tximeta vignette. For obtaining
multiple matching IDs for each row of the SummarizedExperiment
set multiVals="list"
. See select
for documentation
on use of multiVals
.
addIds(se, column, fromDb = FALSE, gene = FALSE, ...)
se |
the SummarizedExperiment |
column |
the name of the new ID to add (a |
fromDb |
logical, whether to use the TxDb/EnsDb that is associated
with |
gene |
logical, whether to map by genes or transcripts (default is FALSE).
if rows are genes, and easily detected as such (ENSG or ENSMUSG), it will
automatically switch to TRUE. if rows are transcripts and |
... |
arguments passed to |
a SummarizedExperiment
example(tximeta)
library(org.Dm.eg.db)
se <- addIds(se, "REFSEQ", gene=FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.