Suppressing the gene model box in Gviz's plotTracks
1
0
Entering edit mode
rubi ▴ 100
@rubi-6462
Last seen 3.3 years ago

Hi,

By default Gviz'plotTracks function adds a box to the left of the gene model:

For example, following Gviz's online tutorial:

require(Gviz)
data(geneModels)
gen <- "hg19"
chr <- "chr7"

gtrack <- GenomeAxisTrack()
itrack <- IdeogramTrack(genome = gen, chromosome = chr)
grtrack <- GeneRegionTrack(geneModels,genome=gen,chromosome=chr,name="Gene Model")

produces a gray box to the left of the transcript tracks. 

My questions is if it is possible to eliminate this box from the figure?

Specifying name="" instead of name="Gene Model" doesn't seem to work and I couldn't find any of the displayPars(grtrack) that suppresses this box.

 

Gviz plotTracks • 513 views
ADD COMMENT
0
Entering edit mode
rubi ▴ 100
@rubi-6462
Last seen 3.3 years ago

Sorry,

I didn't notice this can be set by the panel.only=T arg

ADD COMMENT

Login before adding your answer.

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