Re: [R] Heatmap help

2017-03-05 Thread Patricia J. Hawkins
Hi, you have a couple of things going on here. You can reorder your matrix by creating an index like this: > A_index=c(grep(".A", colnames(A)), grep(".B", colnames(A))) and do this: > heatmap.2(A[,A_index], dendrogram="col", Rowv = colnames(A)[A_index], > tracecol = NA,col=bluered(64

Re: [R] Heatmap help

2017-03-04 Thread André Luis Neves
Thanks, Patricia! I will do it by the rows, and your explanations were great and easy to follow! Thank you very much for your help and time. Andre On Mar 4, 2017 4:18 PM, "Patricia J. Hawkins" wrote: Hi, you have a couple of things going on here. You can reorder your matrix by creating an ind

Re: [R] Heatmap Help

2013-12-11 Thread Sarah Goslee
You have some randomly doubled quotation marks and parentheses. A text editor with syntax highlighting is wonderful for catching that sort of problem. Beyond that, see: ?heatmap A "very urgent" request suggests homework to me, which this list doesn't do. Though sometimes someone will offer a h