Re: [R] Superposing mean line to xyplot

2011-10-15 Thread Deepayan Sarkar
2011/10/10 Niccolò Bassani biostatist...@gmail.com: Dear R-users, I'm using lattice package and function xyplot for the first time so you will excuse me for my inexperience. I'm facing quite a simple problem but I'm having troubles on how to solve it, I've read tons of old mails in the

[R] Superposing mean line to xyplot

2011-10-10 Thread Niccolò Bassani
Dear R-users, I'm using lattice package and function xyplot for the first time so you will excuse me for my inexperience. I'm facing quite a simple problem but I'm having troubles on how to solve it, I've read tons of old mails in the archives and looked at some slides from Deepayan Sarkar but

[R] Superposing mean line to xyplot

2011-10-10 Thread Niccolò Bassani
Dear R-users, I'm using lattice package and function xyplot for the first time so you will excuse me for my inexperience. I'm facing quite a simple problem but I'm having troubles on how to solve it, I've read tons of old mails in the archives and looked at some slides from Deepayan Sarkar but

Re: [R] Superposing mean line to xyplot

2011-10-10 Thread Dennis Murphy
Hi: Here's one way to do it, adding the latticeExtra package: array = rep(c(A,B,C),each = 36) # array replicate spot = rep(1:4,27) # miRNA replicate on each array miRNA = rep(rep(paste(miRNA,1:9,sep=.),each=4),3) # miRNA label exprs = rnorm(mean=2.8,n = 108) # intensity dat =