Re: [R] microarray-like graph

2006-05-19 Thread Jim Lemon
Eric Hu wrote: Hi, I am beginning to learn R and have a data table that I would like to produce a microarray-like plot. The table looks like this: 3 0 0 3 -377.61 1.94 3 0 0 3 -444.80 2.36 2 1 0 3 -519.60 2.39 1 1 1 3 -54.88 2.49 2 1 1 4 -536.55 2.53 1 0 1 2 108.29 2.62 2 0 0 2 39.56

Re: [R] microarray-like graph

2006-05-19 Thread Eric Hu
Thanks Jim. This is almost what I want. One problem is that the colors are not mixing at the same position and the latter color simply overwrites the previous one if their V4 and V6 are similar. I am wondering if 1) somehow the colors can be mixed at the same position or 2) bin V6 at some interval

[R] microarray-like graph

2006-05-18 Thread Eric Hu
Hi, I am beginning to learn R and have a data table that I would like to produce a microarray-like plot. The table looks like this: 3 0 0 3 -377.61 1.94 3 0 0 3 -444.80 2.36 2 1 0 3 -519.60 2.39 1 1 1 3 -54.88 2.49 2 1 1 4 -536.55 2.53 1 0 1 2 108.29 2.62 2 0 0 2 39.56 2.62 3 0 1 4 108.32 2.63 2