heatmap-exprs error
1
0
Entering edit mode
Rao,Xiayu ▴ 550
@raoxiayu-6003
Last seen 8.8 years ago
United States
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]]
limma limma • 1.8k views
ADD COMMENT
0
Entering edit mode
@wolfgang-huber-3550
Last seen 3 months ago
EMBL European Molecular Biology Laborat…
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
ADD COMMENT

Login before adding your answer.

Traffic: 866 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6