Entering edit mode
Enter the body of text here I am trying to compare the seven columns (Herd_name + Cow_number + Udder_quarter + Treatment + Parity + DIM + Lactation_stage) but I keep getting error. Please, what am I doing wrong? I am new to R and DESeq2
dds1 <- DESeqDataSetFromMatrix(countData = cts_mature,
colData = coldata,
design = ~ Herd_name + Cow_number + Udder_quarter + Treatment + Parity + DIM + Lactation_stage)
Error in checkFullRank(modelMatrix) :
the model matrix is not full rank, so the model cannot be fit as specified.
Levels or combinations of levels without any samples have resulted in
column(s) of zeros in the model matrix.