[BioC] heatmap-exprs error
Wolfgang Huber
whuber at embl.de
Thu Jun 20 23:30:56 CEST 2013
Dear Xiayu
while it is quite legitimate to consider this an error, it in fact happens by design. limma's EList class does not support the 'exprs' accessor. You could try
library("limma")
class ? EList
Best wishes
Wolfgang
On Jun 20, 2013, at 10:41 pm, "Rao,Xiayu" <XRao at mdanderson.org> wrote:
> Hello,
>
> Thank you in advance for answering my question!!
>
> I encountered an error when I intended to draw a heatmap based on the output from limma package. I selected those genes with low adjusted p values, and use their expression information to draw a heatmap. It turned out that the exprs function does not work. Really do not know how to solve this. Please help me out! Thanks a lot!
>
>> selected <- p.adjust(contrasts.fit$p.value[, 1]) <0.05
>> selectgenes <- y[selected,]
>> heatmap(exprs(selectgenes))
> Error in (function (classes, fdef, mtable) :
> unable to find an inherited method for function 'exprs' for signature '"EList"'
>
>> exprs(selectgenes)
> Error in (function (classes, fdef, mtable) :
> unable to find an inherited method for function 'exprs' for signature '"EList"'
>
> Thanks,
> Xiayu
>
> [[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
More information about the Bioconductor
mailing list