Adding gene names to DESeq2 results
3
0
Entering edit mode
mtsompana ▴ 10
@mtsompana-8724
Last seen 2.6 years ago
United States

1. I am trying to add gene names to my result table from DESeq2 using the mapIds functions as outlined in the tutorial for differential analysis of RNA-seq data. However I get the message: 

" could not find funtion "mapIds""

 

How do I add gene names to my table?

 

2. Is there a way to add the gene names to the dds generated using the DESeq2 function: 

dds = DESeqDataSetFromHTSeqCount

 

thanks in advance for your time

 

deseq2 • 2.8k views
ADD COMMENT
0
Entering edit mode

This is the version of R I am using: 

R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: x86_64-apple-darwin13.4.0 (64-bit)

thank you so much, 

Maria

 

ADD REPLY
0
Entering edit mode
@james-w-macdonald-5106
Last seen 8 hours ago
United States

You either need to load the AnnotationDbi package, or more likely, need to upgrade your R/Bioconductor installation to the most recent version. Without having the output from sessionInfo() it is impossible for us to say which.

ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 8 hours ago
United States

The mapIds() function was introduced (IIRC), last release, and you have one from two releases ago. You should upgrade to R-3.2.1 and the current release of Bioconductor.
 

ADD COMMENT
0
Entering edit mode
mtsompana ▴ 10
@mtsompana-8724
Last seen 2.6 years ago
United States

I updated the R/Bioconductor version and it worked. Thank you very much for your help and time. 

 

ADD COMMENT

Login before adding your answer.

Traffic: 619 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6