Search
Question: DESeq2 using multiple conditions
0
3 months ago by
aangajala0 wrote:

Hello, I have multiple conditions, such as condition1( Normal and Cancer), condition2( age bellow 50 and above50), so I want to see DEGs of age in Normal samples and cancer.

So for this do I have produce dds twice by separating coldata , one for normal and one for primary. And then use condition for age ?

Thank you.

modified 3 months ago by Michael Love17k • written 3 months ago by aangajala0

Sorry...

design(ddsMF) <- formula(~ type + condition)

My question is how many variables can we give. Here in this code only two variables are used? Or is there a limit?

1

You should look up the “Interactions” section of the vignette, and you can follow the construction of a new variable group using the factor() and paste() functions.

1
3 months ago by
Michael Love17k
United States
Michael Love17k wrote:

Hi,