DESeqg design formula options
1
0
Entering edit mode
2.6 years ago
LHA_trash ▴ 10

Hey guys,

I am a beginner in bioinformatics so sorry if this question may be too basic.

I am currently analyzing an RNAseq set from the GEO database. I already prepared the count matrix and the sampleinfo/metadata. I am however, struggling to create the right design formula for the DESeq object. This is the current metadata: sheetMetadata

I think I have 2 options here:

design1 <- as.formula(~celltype2*stimulation)
design2 <- as.formula(~cell_group)

The problem is, that I want to compare DC2_ctrl with DC3_ctrl and DC2_tlr with DC3_tlr. Only the second design would give me the options as result

resultsNames(ddsObj2)
[1] "Intercept"                       "cell_group_DC2_TLR_vs_DC2_ctrl"  "cell_group_DC3_ctrl_vs_DC2_ctrl" "cell_group_DC3_TLR_vs_DC2_ctrl" 

I just want to make sure, that this is the correct way to do it, because I feel like the stimulation should be a variable itself and not be grouped into the cell population. However this is the only way i get to compare my desired groups. Any advice, if I did a major mistake ?

Cheers

RNAseq DESeq2 R • 515 views
ADD COMMENT
0
Entering edit mode
2.6 years ago

If you want to compare one subgroup to another, design2 is the more straightforward way to do that.

ADD COMMENT
0
Entering edit mode

All right, i just needed reassurance that this design for DESeq is not totally wrong. Thanks!

ADD REPLY

Login before adding your answer.

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