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
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
Dear all,
I was wondering if you could help me to construct a heat map, in which the
columns are sorted by sample type (A first and then B).
My reproducible example below runs, but the columns of the heatmap are not
organized in the way I would like because it has first sampleA, SampleB,
sampleA,
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
Hello,
I want a help, i have to make heat map.And i am using the following command
In R for generating a matrix, but its returning an error,and i am not able
to figure it out.
Can you please tell me what is wrong?
And please also suggest me how to generate a heat map.
Its very urgent.
Thanks a lot
5 matches
Mail list logo