Hi, Sean Davis. Thanks for your useful explanation.
However, I have this same errors again.
> heatmap.2(exprs(selExpr)[index_top,],trace='none',scale='row')
Error in function (classes, fdef, mtable) :
unable to find an inherited method for function "exprs", for signature "matrix"
Have you checked the posts on the right of the screen? Just save the data.frame produced by
topTablewithout sorting, subset theexpressionSetaccordingly, and make a heatmap of that.I tried that, and it was not working
Define "not working".
It keeps showing me an error even I have already set it to be a numeric matrix
Error in heatmap.plus(top) : 'x' must be a numeric matrix
It would be rather more useful if you also showed the entirety of the relevant code...
> top<-as.numeric(rownames(topTable(ebfit,n=10000,coef=1,adjust="fdr",p.value=0.05)))
>heatmap.plus(top)
I'm not sure how you could hope for that to ever work. You're trying to make a heatmap of probe names, which doesn't make any sense.
or something like that.
as.numeric of the rownames? Stopped reading there.