Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

grouping

Grouping of annotation features


Description

Many annotation tracks are actually composed of a number of grouped sub-features, for instance exons in a gene model. This man page highlights the use of grouping information to build informative annotation plots.

Details

All track objects that inherit from class 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.

Author(s)

Florian Hahne

See Also


Gviz

Plotting data and annotation information along genomic coordinates

v1.34.1
Artistic-2.0
Authors
Florian Hahne [aut], Steffen Durinck [aut], Robert Ivanek [aut, cre] (<https://orcid.org/0000-0002-8403-056X>), Arne Mueller [aut], Steve Lianoglou [aut], Ge Tan [aut], Lance Parsons [aut], Shraddha Pai [aut], Thomas McCarthy [ctb], Felix Ernst [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.