[R] Lattice/"panel.bwplot" and Gviz: Boxplot question
Jeff Newmiller
jdnewmil at dcn.davis.CA.us
Sun Jul 22 21:34:02 CEST 2012
Best to ask questions about Bioconductor packages on the bioconductor mailing list.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Brian Smith <bsmith030465 at gmail.com> wrote:
>Hi,
>
>I was using Gviz package to create a boxplot. I understand that Gviz
>uses
>"panel.bwplot" to create the boxplot.
>
>Is there any way that I can remove the dashed line surrounding each
>pair of
>boxplots?
>
>Here is some sample code:
>
>#############
>
>library(Gviz)
>
>thisdata <- matrix(sample(1:100,60),nrow=10,ncol=6)
>positions <- sample(1:100,6)
>limit1 <- min(positions)-1
>limit2 <- max(positions)+1
>colnames(thisdata) <- positions
>dgroups <- c(rep('sample1',6),rep('sample2',4))
>chr <- "chr1"
>
>
>d4x <- DataTrack(start=positions, width=2,
> data=thisdata,chromosome=chr,
> name="test",groups = dgroups,type = "boxplot",
> box.ratio=0.6,
> box.width=1.5
>
>) #"box and whisker plot"
>
>plotTracks(d4x,from=limit1,to=limit2)
>
>###############################
>
>many thanks!
>
> [[alternative HTML version deleted]]
>
>______________________________________________
>R-help at r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide
>http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.
More information about the R-help
mailing list