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@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.

Reply via email to