I have a gene expression data set and want to create a cpm matrix from a DGEList object. Is used to work, but after updating to Bioconductor 3.6, I get the following error message: "unable to find an inherited method for function ‘cpm’ for signature ‘"DGEList". Code provided below.
dgList <- DGEList(counts=fc$counts, genes=row.names(fc$counts))
countsPerMillion <- cpm(dgList)
Yes, you are totally right. Typing edgeR::cpm solved the problem.