When I create my model matrix for my dge from my DDS one of my conditions is always left out of my model matrix. Looking to have 5 groups in my matrix, only shows 4, how do I fix this?
Code should be placed in three backticks as shown below
# include your problematic code here with any corresponding output
# please also include the results of running the following in an R session
sessionInfo( )
It's not missing. You are using a treatments contrast, where one level is defined as the baseline (the intercept), and all other levels are differences from that level. For example
In that design matrix, the intercept computes the mean of the A group, and the other three coefficients estimate the difference, so e.d., fakeoB estimates (B - A). That is not always ideal, so you can use a cell means model.
And now each coefficient estimates the mean of each group. In which case you need to define contrasts to compare groups, because the mean of the group is not itself interesting.