Hi All,
I am attempting to create a MF design that will allow me to analyze paired samples (mouse) when testing different conditions, i.e. contrast(c("condition", "E", "D")) . When I attempt to create the dds file I receive this error whether or not I include or exclude the first two samples (B10 and B6):
> dds.Spe = phyloseq_to_deseq2(physeq, ~condition + mouse)
converting counts to integer mode
Error in checkFullRank(modelMatrix) :
the model matrix is not full rank, so the model cannot be fit as specified.
One or more variables or interaction terms in the design formula are linear
combinations of the others and must be removed.
See the section 'Model matrix not full rank' in vignette('DESeq2')
I have seen answers to this similar problem on bioconductor and read the manual/vignette, but cannot apply them to my specific case (I apologize in advance). Any help would be greatly appreciated.
My Design:
sample | condition | mouse | |
B10 | B10 | A | one |
B6 | B6 | A | two |
WQ413LL | 413_B6_2_B6_TP | B | three |
WQ413RL | 413_B6_2_B6_CT | C | three |
WQ437LL | 437_B10_2_B6_TP | D | four |
WQ437RL | 437_B10_2_B6_CT | E | four |
WQ438LL | 438_B10_2_B6_TP | D | five |
WQ438RL | 438_B10_2_B6_CT | E | five |
WQ440LL | 440_B10_2_B6_TP | D | six |
WQ440RL | 440_B10_2_B6_CT | E | six |
WQ446LL | 446_B6_2_B6_TP | B | seven |
WQ446RL | 446_B6_2_B6_CT | C | seven |
I completely agree with you on the experimental design. Unfortunately this data-set was generated before I entered my lab so I was just trying to make the most out of it. Thanks for your response.