Re: [R] facet plot

2013-02-01 Thread Dennis Murphy
> sp <- ggplot(gene.df, aes(x=Gene, y=Time)) + geom_point(shape=1) > > And use the function facet_wrap(): > >> sp + facet_wrap( ~ Gene,ncol=3) > > You can set a different number of columns and a different shape for the > markers, of course. > > Hope this helps. &g

Re: [R] facet plot

2013-01-31 Thread Jose Iparraguirre
course. Hope this helps. Regards, José José Iparraguirre Chief Economist Age UK -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Robin Mjelle Sent: 31 January 2013 09:06 To: r-help@r-project.org Subject: [R] facet plot Hi all

[R] facet plot

2013-01-31 Thread Robin Mjelle
Hi all, I want to plot a facet plot with column names as x and column values as y. One plot for each row. here is part of my dataset: Gene T0h T0.25h T0.5h T1h T2h T3h T6h T12h T24h T48h NM_001001130 68 95 56 43 66 62 68 90 63 89 NM_001001144 0 1 4 0 1 1 1 4 1 2 NM_001001152 79 129 52 50 2