Question: "confint" type in DataTrack function (Gviz)
gravatar for Vinicius Henrique da Silva
4.4 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!

gviz confidence interval plot • 853 views
ADD COMMENTlink modified 4.4 years ago by florian.hahne@novartis.com1.6k • written 4.4 years ago by Vinicius Henrique da Silva40
Answer: "confint" type in DataTrack function (Gviz)
gravatar for
4.4 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 4.4 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 4.4 years ago by Vinicius Henrique da Silva40
Please log in to add an answer.


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