Hi Naomi,

just use as.matrix(TotalReads) instead ;)

Cheers

On Fri, Mar 11, 2011 at 8:38 PM, Naomi Altman <naomi@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@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]]

