AnnotationTrack
support the grouping feature. The
information is usually passed on to the constructor function (for
AnnotationTrack
via the groups
argument and for
GeneRegionTrack
objects via the exon
argument) or automatically downloaded from an online annotation
repository (BiomartGeneRegionTrack
). Group
membership is specified by a factor vector with as many items as there
are annotation items in the track (i.e., the value of
length(track)
. Upon plotting, the grouped annotation features
are displayed together and will not be separated in the stacking of
track items.AnnotationTrack