Gviz - Arrow Head Resizing
2
1
Entering edit mode
bst ▴ 10
@bst-7512
Last seen 9.1 years ago
United States

I am putting together a figure using the Gviz package. I noticed that the arrow heads (showing the orientation of the transcript) from the GeneRegionTrack output are very small and somewhat difficult to see. I tried increasing the line size (using lwd=“#”), however the arrows themselves do not seem to increase in size. Is there currently any way in which I could modify the size of the arrows to make them more visible ? 

Anyone have any suggestions?

Thanks!

 

gviz • 1.7k views
ADD COMMENT
2
Entering edit mode
@florianhahnenovartiscom-3784
Last seen 5.6 years ago
Switzerland

You could try the min.height display parameter. Choosing a larger value there should increase the arrow head sizes.

data(cyp2b10)
grTrack <- GeneRegionTrack(cyp2b10)
plotTracks(grTrack)
grTrack <- GeneRegionTrack(cyp2b10, min.height=10)
plotTracks(grTrack)
ADD COMMENT
0
Entering edit mode
bst ▴ 10
@bst-7512
Last seen 9.1 years ago
United States

Thanks Florian works great!

ADD COMMENT

Login before adding your answer.

Traffic: 954 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6