[BioC] edgeR: calcNormFactors

Neel Aluru naluru at whoi.edu
Fri Mar 11 21:33:56 CET 2011


Hi Naomi,

I think this error is associated with old version of edgeR.  Try upgrading to the latest version of edgeR. That's how I was able to get rid of it.

Neel

On Mar 11, 2011, at 3:24 PM, João Moura wrote:

> Hi Naomi,
> 
> just use as.matrix(TotalReads) instead ;)
> 
> Cheers
> 
> On Fri, Mar 11, 2011 at 8:38 PM, Naomi Altman <naomi at stat.psu.edu> wrote:
> 
>> It looks like calcNormFactors wants a matrix, not a DGEList.  Did I do
>> something wrong?
>> 
>> d=DGEList(counts=TotalReads, group=treatments,genes=rownames(TotalReads))
>> 
>> Calculating library sizes from column totals.
>> 
>> dNorm=calcNormFactors(d)
>> 
>> Error in calcNormFactors(d) : 'dataMatrix' needs to be a matrix
>> 
>> Naomi
>> 
>> _______________________________________________
>> Bioconductor mailing list
>> Bioconductor at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/bioconductor
>> Search the archives:
>> http://news.gmane.org/gmane.science.biology.informatics.conductor
>> 
> 
> 
> 
> -- 
> João Moura
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at r-project.org
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives: http://news.gmane.org/gmane.science.biology.informatics.conductor

Neel Aluru
Postdoctoral Scholar
Biology Department
Woods Hole Oceanographic Institution
Woods Hole, MA 02543
USA
508-289-3607



More information about the Bioconductor mailing list