Nested design with unbalanced groups
1
0
Entering edit mode
@stevennvolant-9599
Last seen 6.3 years ago

Hello,

I'm facing a quite complex experimental design with 2 factors (Group and Time) and with paired samples. If the number of patients is the same for each group, i can use the trick proposed by EdgeR in "Comparisons both between and within subjects" section and then by DESeq2 in “Model matrix not full rank” section. But is there a way to deal with unbalanced groups ?

Imagine the following design :

Sample Group Time Patient
1 A T0 P1
2 A T1 P1
3 A T0 P2
4 A T1 P2
5 A T0 P3
6 A T1 P3
7 B T0 P1
8 B T1 P1
9 B T0 P2
10 B T1 P2
11 B T0 P3
12 B T1 P3
13 B T0 P4
14 B T1 P4

If I try to do the same thing than with balanced group, i get a “Model matrix not full rank” error.

 

Best

deseq2 • 752 views
ADD COMMENT
1
Entering edit mode
@mikelove
Last seen 56 minutes ago
United States

You need to remove the column that represents the interaction between group A and patient 4. This is discussed towards the end of that section you reference "Note that, if you have unbalanced numbers of individuals..."

ADD COMMENT

Login before adding your answer.

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