Search
Question: "confint" type in DataTrack function (Gviz)
0
gravatar for Vinicius Henrique da Silva
2.3 years ago by
Brazil

I am ploting the Gviz Manual example:

library(Gviz)
data(twoGroups)

dTrack <- DataTrack(twoGroups, name = "uniform")

plotTracks(dTrack, groups = rep(c("control", "treated"),
each = 3), type = c("a", "p", "confint"))

The above code is supposed to plot a figure as in page 21 of the Manual (<http://www.bioconductor.org/packages/release/bioc/vignettes/Gviz/inst/doc/Gviz.pdf>).

However, what I am getting is a plot without the area which gives the confidence interval of each group ('control' and 'case').

The "confint" type can´t be used at DataTrack function anymore? If yes, why?

Thank you very much!

ADD COMMENTlink modified 2.3 years ago by florian.hahne@novartis.com1.5k • written 2.3 years ago by Vinicius Henrique da Silva20
1
gravatar for florian.hahne@novartis.com
2.3 years ago by
Switzerland

I am assuming that you are trying this on a plotting device that does not support alpha transparency. If you add the alpha.confint=1 parameter to your call to plotTracks, do you see the bands then? 

This visualization does not make too much sense if not plotting with transparency since it tends to overplot anything else.

Florian

ADD COMMENTlink written 2.3 years ago by florian.hahne@novartis.com1.5k

I found it to be the version of Gviz. Thank you very much for your answer!

ADD REPLYlink written 2.3 years ago by Vinicius Henrique da Silva20
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 239 users visited in the last hour