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

I am ploting the Gviz Manual example:


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 (<>).

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.9 years ago by florian.hahne@novartis.com1.6k • written 2.9 years ago by Vinicius Henrique da Silva20
gravatar for
2.9 years ago by

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.


ADD COMMENTlink written 2.9 years ago by florian.hahne@novartis.com1.6k

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

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


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