Re: [R] color question

2019-02-28 Thread Jim Lemon
Hi Aimin, This example uses a log transformation to spread the colors out: d<-read.table(text=" lateRT earlyRT NAD ciLAD LAD 1.0 0.00 0.006224017 0.001260241 0.0069699285 0.0 1.00 0.001425649 0.007418436 0.0007096344 0.006224017 0.00

Re: [R] color question

2019-02-27 Thread K. Elo
Hi! 2019-02-27 22:51 -0500, Aimin Yan wrote: > I have a question about assigning color based on the value of a > matrix > > The following is my matrix. > > d > lateRT earlyRT NAD ciLAD > lateRT 1.0 0.00 0.006224017 0.001260241 > earlyRT 0.

Re: [R] color question

2019-02-27 Thread Aimin Yan
The attached is the heatmap. Thank you, Aimin On Wed, Feb 27, 2019 at 10:51 PM Aimin Yan wrote: > I have a question about assigning color based on the value of a matrix > > The following is my matrix. > > d > lateRT earlyRT NAD ciLAD > lateRT 1.0 0.

[R] color question

2019-02-27 Thread Aimin Yan
I have a question about assigning color based on the value of a matrix The following is my matrix. d lateRT earlyRT NAD ciLAD lateRT 1.0 0.00 0.006224017 0.001260241 earlyRT 0.0 1.00 0.001425649 0.007418436 NAD 0.006224017 0.001