Entering edit mode
I've been playing around with GViz, but I cannot for the life of me figure out how to make my plot. I would like to make my datatrack a dotplot, colored by a gradient based on a different variable. Basically:
ggplot(fst_snpchr10_51556910,aes(x=POS,y=Z_FST))+geom_point(aes(color=R2), size=1)
I just can't figure out how to do that with GViz and I would really like to have the annotationtrack.
Thanks!
It is not possible to color the points in a
DataTrack
based on a continuous variable at the moment.But this a bit "hackish" solution might work for you. It takes advantage of
groups
which are defined as separate columns.That's smart, I'm a bit worried that it'll break my computer if I get enough levels in there to make me happy, but I'll give it a try.