Differences in sample size between conditions - pairwise comparison
1
0
Entering edit mode
Aiswarya • 0
@b4cc611d
Last seen 10 months ago
United States

I am performing a simple pairwise comparison between two different conditions (control vs infection) but I have a substantial difference in sample size between each condition (control,n=300, infection,n= 584) I was wondering how this would affect my analysis, and how should I account for this without subsetting the larger sample.

DESeq2 • 645 views
ADD COMMENT
0
Entering edit mode
ATpoint ★ 4.4k
@atpoint-13662
Last seen 3 days ago
Germany

Differences in n per group are not a problem, especially at this quite large overall sample size. If speed of execution becomes a problem you might consider linear approaches such as limma-voom which is much faster. Be sure to explore your data for confounders. See for example from the DESeq2 developer this analysis on a large cohort https://github.com/mikelove/preNivolumabOnNivolumab/blob/main/preNivolumabOnNivolumab.knit.md

ADD COMMENT
0
Entering edit mode

Thank you, that helped a lot.

Extending the same question, I have infection samples from different time points for the same patient ( the number of time points for which the data has been collected post infection varies between patients) in this case should I stick to a single timepoint for all the infection patients? how will it affect my analysis if I have post infection data from same patient taken under the general umbrella as "infection" (at this point I want to stick to pairwise comparison and not time series)

Thanks in advance

ADD REPLY
0
Entering edit mode

You should fit all the samples in one go, and then you can make pairwise comparisons with results().

~donor + time

ADD REPLY
0
Entering edit mode

Right, for me these types of designs end up being less than a minute to run with DESeq2 which is shorter than the time it takes to examine the plots afterward, so not prohibitive. Eg the Nivolumab dataset takes something like 25 seconds.

ADD REPLY

Login before adding your answer.

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