Re: [R] Multiple color schemes for barchart (lattice)

2007-06-06 Thread Deepayan Sarkar
On 6/6/07, Sarah Hawley <[EMAIL PROTECTED]> wrote: > Hello R-help. > > I am trying to make a stacked barplot where the color of the sections of > each bar depend on another variable. > > > myData[1:11,] >score percentmarker cellType Malignant > 1 0 100.0 ESR1 (ER) Bladder.M(5

Re: [R] Multiple color schemes for barchart (lattice)

2007-06-06 Thread hadley wickham
On 6/6/07, Sarah Hawley <[EMAIL PROTECTED]> wrote: > Hello R-help. > > I am trying to make a stacked barplot where the color of the sections of > each bar depend on another variable. > > > myData[1:11,] >score percentmarker cellType Malignant > 1 0 100.0 ESR1 (ER) Bladder.M(5

[R] Multiple color schemes for barchart (lattice)

2007-06-06 Thread Sarah Hawley
Hello R-help. I am trying to make a stacked barplot where the color of the sections of each bar depend on another variable. > myData[1:11,] score percentmarker cellType Malignant 1 0 100.0 ESR1 (ER) Bladder.M(5) TRUE 2 0 80.0 PAX8 Bladder.M(5) TRUE 3 1 2