Entering edit mode
Hello! I am relatively new to using EdgeR. I am wondering what cpmByGroup() is used for and in what sorts of situations it would be used. I have googled and I don't get many results. Any links to papers or other resources would be helpful.
Thank you so much!
Thank you so much for the explanation and the quick response! I also noticed that cpmByGroup() isn't mentioned in the EdgeR manual! That is helpful to know that it isn't really used for DE but rather for visualizing. Do you know where I could figure out how cpmByGroup() calculates the average values for groups, and if the function takes into account things like if we ran estimateCommonDisp()?
If there are dispersion estimates in your
DGEList
, then they will be used. If not, a dispersion of 0.5 will be used instead. The function usesmglmOneWay
to fit a model and extracts the group estimates from that model, which are returned as either CPM or logCPM values, depending on the 'log' argument.