[BioC] edgeR: calcNormFactors
Naomi Altman
naomi at stat.psu.edu
Fri Mar 11 22:09:47 CET 2011
Thanks. I think you are right.
Thanks to Neel and João,
--Naomi
At 03:33 PM 3/11/2011, Neel Aluru wrote:
>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
>
>_______________________________________________
>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
More information about the Bioconductor
mailing list