Re: [R] Histogram/Bar plot graph

2008-02-06 Thread Senthil Kumar M
On Feb 6, 2008 2:35 AM, ONKELINX, Thierry <[EMAIL PROTECTED]> wrote: > You'll need to transform your dataset in a long format first. > > library(ggplot2) > n <- 5 > MyValues <- data.frame(Gene = factor(LETTERS[seq_len(n)]), ES = > rnorm(n), MEF = rnorm(n), Embrio = rnorm(n), EShyp = rnorm(n)) > MyV

Re: [R] Histogram/Bar plot graph

2008-02-06 Thread ONKELINX, Thierry
PROTECTED] [mailto:[EMAIL PROTECTED] Namens Senthil Kumar M Verzonden: woensdag 6 februari 2008 11:19 Aan: r-help@r-project.org Onderwerp: [R] Histogram/Bar plot graph Hi, I have the following data: > Myvalues Gene ES MEF Embryo ESHyp 1 GeneA -0.38509507 0.00 1.6250

[R] Histogram/Bar plot graph

2008-02-06 Thread Senthil Kumar M
Hi, I have the following data: > Myvalues Gene ES MEF Embryo ESHyp 1 GeneA -0.38509507 0.00 1.6250 1.7039921 2 GeneB0.06262914 0.00 1.6250 -0.272033 and so on... I want to plot the expression values of GeneA and GeneB in the different cell/embryo/conditions (col