DESEQ2 Differential Expression controlling for two factors
1
0
Entering edit mode
Bine ▴ 50
@bine-23912
Last seen 7 months ago
UK

Dear all,

I have used DESeq2 for my Differential Expression Analysis and with

~batch + gender

I controlled for the different batches.

Now I would like to control not only for gender instead also for another variable. Can I control for 2 different variables in the model? Or do I manually need to remove it before through maybe "remove batch effect" functions?

Thank you for any hint!!

DESeq2 • 748 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 3 hours ago
United States

The answers to your questions are

  1. Of course
  2. No, that's not how it works

But I suspect you have a more directed question. If it's 'how should I analyze my data', you might get lucky and get an answer, but probably not, because that's not really what this site is for. If it's 'I did this and it did not work and here is the error message', then by all means post that.

ADD COMMENT
0
Entering edit mode

Alternatively, for questions that are not purely technical and therefore do not require the developer's "how-it-works-under-the-hood"-expertise you can post at biostars.org, it is a general community for everything related to bioinformatics. If you do please add the necessary details (this goes for any community). In your case that would be a table listing which samples belongs to which group(s) to see whether covariates (=variables) can be meaningfully modelled or are nested with each other.

ADD REPLY

Login before adding your answer.

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