Re: [R] making a barplot with table of experimental conditions underneath (preferably ggplot2)

2013-11-15 Thread John Kane
"\n ",df[,6]) # create labels > > df.plot <- qplot(experiment,mean,data = df, xlab="", ylab="# peptides > identified")+ > geom_point(fill="grey")+ > geom_errorbar(aes(x=experiment, ymin=mean-stdev, ymax=mean+stdev), > width=0.25

Re: [R] making a barplot with table of experimental conditions underneath (preferably ggplot2)

2013-11-14 Thread John Kane
t;)+ geom_errorbar(aes(x=experiment, ymin=mean-stdev, ymax=mean+stdev), width=0.25) p + scale_x_discrete( labels = df$labs) I hop John Kane Kingston ON Canada > -Original Message- > From: n.hub...@ncmls.ru.nl > Sent: Wed, 13 Nov 2013 14:24:28 + > To: r-help@r-project.o

Re: [R] making a barplot with table of experimental conditions underneath (preferably ggplot2)

2013-11-13 Thread Jim Lemon
On 11/14/2013 01:24 AM, n.hub...@ncmls.ru.nl wrote: Dear all, my data looks the following: df<- data.frame (experiment=c("E1","E2","E3","E4"), mean = c(3,4,5,6), stdev=c(0.1,0.1,0.05,0.2), method = c("STD","STD", "FP", "FP"), enzyme =c ("T","T/L","T","T/L"), denaturation=c("U","U","0.05%RG

[R] making a barplot with table of experimental conditions underneath (preferably ggplot2)

2013-11-13 Thread N.Hubner
Dear all, my data looks the following: df <- data.frame (experiment=c("E1","E2","E3","E4"), mean = c(3,4,5,6), stdev=c(0.1,0.1,0.05,0.2), method = c("STD","STD", "FP", "FP"), enzyme =c ("T","T/L","T","T/L"), denaturation=c("U","U","0.05%RG", "0.1%RG")) I would like to make a bar plot wit