I have a small RNA data set and I want to create a matrix that is normalized based on cpm and also normalized onto my spike-in control expression. What is the best way to do this?
d.RNA <- edgeR::DGEList(counts = round(counts), group=group)
d.Spike <- edgeR::DGEList(counts = s)
On a side note, you no longer have to round your counts to the nearest whole number to use edgeR, but you should still ensure that they are on a raw count scale, even if they represent estimated or split counts.