Question: Suppressing the gene model box in Gviz's plotTracks
0
2.3 years ago by
rubi90
rubi90 wrote:

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 • 325 views
modified 2.3 years ago • written 2.3 years ago by rubi90
Answer: Suppressing the gene model box in Gviz's plotTracks
0
2.3 years ago by
rubi90
rubi90 wrote:

Sorry,

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