Deseq2 colData for single condition
0
0
Entering edit mode
14 months ago
Petesview ▴ 10

Hi,

I have an RNA-seq dataset that I wish to compare between treated vs control following the DESeq2 vignette. I have no other meta information about this dataset, therefore my colData only contains a single column describing which sample is treated and which is control. My design matrix is (design = ~ condition).

When I perform DEseq2 on this object, the results look fine, but when I try to use the resultsName function on the dds object, nothing is returned (character 0). May I ask if I am doing this correctly?

RNA-seq • 668 views
ADD COMMENT
0
Entering edit mode

You first need to run

dds$condition <- relevel(dds$condition, ref = "control")
ADD REPLY
0
Entering edit mode

Hi Marco, thanks for the reply. I have given it a try, using both the relevel and factor functions as suggested by the vignette, but still gives me character0 for resultsName function

ADD REPLY

Login before adding your answer.

Traffic: 2431 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