different sample size from each individual
1
0
Entering edit mode
LW • 0
@296aca7f
Last seen 5 days ago
United States

Hi,

In my dataset, the number of samples from each individual are different, something like this:

I want to compare active and inactive status, but as you can see, patient 1,2,3 has 1 samples in each status, whereas patient 4,5,6,7,8 contribute multiple samples in each status.

In this scenario, can I design my Deseq model as:

~ status + Patient.ID

to eliminate the unequal variance issue?

Thanks! Leran

DESeq2 • 175 views
0
Entering edit mode
0
Entering edit mode

This one is a question for DESeq, that one is for statistics.

0
Entering edit mode

Thank you.

0
Entering edit mode
@mikelove
Last seen 1 day ago
United States

In DESeq2 we assume a dispersion per gene, so anyway we never model unequal variance/dispersion conditional on X.

You can just use our standard design of ~patient + status.