Dear all,
I have a probably trivial problem where I need a hint into the right direction:
I am trying to visualize RNA-seq data in Gviz (nice!). I have two bam files loaded as AlignmentsTrack (just coverage and sashimi, no reads). Individually, they fill the square plotting area completey (the Y-axis is scaled to fill all available space). I can also add GenomeAxisTrack and a BioMartGeneRegionTrack, which reduces the height accordingly. But when I add the second AlignmentsTrack, the plot no longer scales in y-direction and I get a very narrow band in the middle of my square plotting area (maybe 25% of the available space).
How can I scale the two AlignmentsTracks to use more y-space in the plotting area? The parameters "sizes" or any type of "height" parameter just affects the ratio within the band, but not the overall size.
I have a probably trivial problem where I need a hint into the right direction:
I am trying to visualize RNA-seq data in Gviz (nice!). I have two bam files loaded as AlignmentsTrack (just coverage and sashimi, no reads). Individually, they fill the square plotting area completey (the Y-axis is scaled to fill all available space). I can also add GenomeAxisTrack and a BioMartGeneRegionTrack, which reduces the height accordingly. But when I add the second AlignmentsTrack, the plot no longer scales in y-direction and I get a very narrow band in the middle of my square plotting area (maybe 25% of the available space).
How can I scale the two AlignmentsTracks to use more y-space in the plotting area? The parameters "sizes" or any type of "height" parameter just affects the ratio within the band, but not the overall size.
Code:
gTrack<-GenomeAxisTrack() alTrack<-AlignmentsTrack(range='WT.bam',genome='hg19', name='Wildtype', chromosome='chr8',ispaired=T) alTrack2<-AlignmentsTrack(range='Mut.bam',genome='hg19', name='Mutant', chromosome='chr8',ispaired=T) bmt<-BiomartGeneRegionTrack(genome='hg19',chromosome='chr8',start=afrom,end=ato,filter=list(with_ox_refseq_mrna=T),stacking='squish',showExonId=F) plotTracks(c(gTrack,bmt,alTrack,alTrack2),from=afrom,to=ato,type=c('coverage','sashimi'))
Comment