Gviz : adapt track height
1
0
Entering edit mode
@nicolas-rosewick-10121
Last seen 4.8 years ago
Belgium/Brussels/ULB

Hi,

I've three track to plot using gviz. One annotatioTrack, one GeneRegionTrack, and one an AlignmentsTrack (coverage from a bam file) . But the coverage track takes a significant height of the total plot. How can I tune this in order to have something more visual.

Here's the plot :


 

 

gviz track height • 4.0k views
ADD COMMENT
2
Entering edit mode
@florianhahnenovartiscom-3784
Last seen 6.2 years ago
Switzerland

From ? plotTracks:

   sizes: A numeric vector of relative vertical sizes for the

          individual tracks of length equal to the number of tracks in

          'trackList', or 'NULL' to auto-detect the most appropriate

          vertical size proportions.

So in your case, something like

plotTracks(list(track1, track2, track3), sizes=c(5,1,5))
ADD COMMENT

Login before adding your answer.

Traffic: 803 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