Re: [R] alternate tick labels and tick marks with lattice xyplot

2012-07-19 Thread Leah Marian
),labels=c(1, ' ', 3 , ' ' , 5 , ' ' ))), > par.settings=list(axis.components=list(bottom=list(tck=c(0,1) > > See "scales" in ?xyplot and str(trellis.par.get()) for some settings in > lattice > > HTH > > > On Wed, Jul 18, 2012 at 12:02 PM, Leah Ma

Re: [R] alternate tick labels and tick marks with lattice xyplot

2012-07-18 Thread Leah Marian
Yes, I would be interested in both the ggplot2 and lattice ways of doing this. Unfortunately, I am not interested in creating a panel for each chromosome. Actually, I would like to create a Manhattan plot using xyplot. Thus I would need to alternate tick marks and tick labels. Thanks! On Mon,

[R] alternate tick labels and tick marks with lattice xyplot

2012-07-15 Thread Leah Marian
Hi, I would like to use xyplot to create a figure. Unfortunately, I cannot find documentation in xyplot to specify alternating the x-axis tick labels with the x-axis tick marks. I can do this with the regular R plot function as follows. #A small version of my data looks like this data<-data.fram