Hi! I have been trying to run DESeq2, however I am facing some problems when it comes to multi factor designs.
My multifactor design is something like that:
Group 1: Disease_vs_Normal
Factor 1: Disease
Factor 2: Normal
Group 2: KO_vs_noKO
Factor 1: Diseaseparent
Factor 2: Normalparent
Factor 3: DiseaseKO
Factor 4: DiseasenoKO
Factor 5: NormalKO
Factor 6: NormalnoKO
Surpringly, when I run group 1 and 2 seperately, DESeq2 works. However when I try combining them as multi factor for a single DESeq2 run, I get this following error:
primary factor: Disease_vs_Normal
other factors in design: Disease_vs_Normal
Error in DESeqDataSet(se, design = design, ignoreRank) :
variables in design formula cannot contain NA: KO_vs_noKO
Calls: get_deseq_dataset → DESeqD
I assume there is a condition I am required to fulfill when running multiple groups, but I’m confused as to what that could be. I will really appreciate any help!