Question: Gviz (GenomicInteractions) arc height and boundaries
gravatar for Nik dAK
7 months ago by
Nik dAK10
Nik dAK10 wrote:

Hi everybody,

I am currently start working with Gviz (thanks for the amazing package), but have a small issue with the interaction track: I use makeGenomicInteractionsFromFile() and InteractionTrack() on a bedpe file. Everything works fine, but the arcs are squeezed against the top border (see image ).

I tried to cheat my way around by modifying the counts columns to a lower number or changing different display parameters (e.g. for title rotation hic.track@dp@pars$rotation.title <- 0).

Is there another way to either change the arc height or somehow prevent them to be cut at the back of the bow?

Thank you very much!

gviz genomicinteractions • 163 views
ADD COMMENTlink modified 7 months ago by liz.ingsimmons140 • written 7 months ago by Nik dAK10

Hi Nik,

If you provide me with a reproducible example I can have a look what could be implemented in Gviz to improve your visualisation.

Best, Robert

ADD REPLYlink written 5 months ago by Robert Ivanek660
Answer: Gviz (GenomicInteractions) arc height and boundaries
gravatar for liz.ingsimmons
7 months ago by
liz.ingsimmons140 wrote:

Hi Nik, glad you are finding the GenomicInteractions package useful.

The top of the arc doesn't appear to be cut off in your image, rather the arcs take up the full height of the panel. This is by design, and is similar to other Gviz track types where the y axis limits are set based on the values in the data.

I'm not sure if there is an option in Gviz to add padding between tracks, but that seems like what you'd want here.

ADD COMMENTlink written 7 months ago by liz.ingsimmons140

Hi Liz, thank you for the answer. Unfortunately I can't modify the track parameters in any way. stackHeight and other parameters can not be predefined in InteractionTrack() and if I add them manually they are ignored: hic.track@dp@pars$stackHeight <- 0.5

Any suggestions? Thanks

ADD REPLYlink written 6 months ago by Nik dAK10
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: 221 users visited in the last hour