Question: Adding a legend to a GeneRegionTrack?
gravatar for maltethodberg
9 days ago by
maltethodberg110 wrote:

Quick Gviz question:

For a DataTrack, there is an option to add a legend via setting legend=TRUE

I'm using the feature argument in GeneRegionTrack to color different features. Is there a way to add a legend to the track indicating what the colors mean? Simply supplying legend=TRUE does not work.

gviz generegiontrack • 31 views
ADD COMMENTlink written 9 days ago by maltethodberg110


Currently it is implemented only for DataTrack-Class. Do you have an example code where do you want to use it?

Best, Robert

ADD REPLYlink written 9 days ago by Robert Ivanek590
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 289 users visited in the last hour