Question: Unintended grey dot in Gviz plots
1
gravatar for Robert
8 weeks ago by
Robert10
Robert10 wrote:

When plotting a Gviz DataTrack I noticed a grey dot appearing in the center of the plot.

library(Gviz)

set.seed(13)
df <- data.frame(chr = rep("chrI", 30), start = 1:30, end = 1:30, score = rnorm(n = 30, mean = 10, sd = 2))
data.track <- DataTrack(makeGRangesFromDataFrame(df = df, keep.extra.columns = TRUE), genome = "sacCer3", type = "h", name = "x")

plotTracks(trackList = list(data.track), chromosome = "chrI", from = 1, to = 30)

enter image description here

Is there a way to avoid this?

gviz • 87 views
ADD COMMENTlink modified 7 weeks ago by Robert Ivanek640 • written 8 weeks ago by Robert10
Answer: Unintended grey dot in Gviz plots
1
gravatar for Robert Ivanek
7 weeks ago by
Robert Ivanek640
Switzerland
Robert Ivanek640 wrote:

Dear Robert,

Thanks for pointing that out. It is actually result of the check, if device supports transparency. Currently I do not have an idea how to check it in a less disturbing way. However I moved that point to the bottom-left corner where it should be less visible. I committed the change to GitHub repository and will push it into Bioc release and development next week.

Best Robert

ADD COMMENTlink written 7 weeks ago by Robert Ivanek640
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 16.09
Traffic: 129 users visited in the last hour