Creating custom track types
Important note: track types are "high level concepts", and don't do a lot of logic: instead "display" types register themselves to a track type, to display data in a particular view. Then, the renderers are called by the display type on e.g. a per-block basis
Examples of track types
For examples of custom track types, refer to things like:
HicTrack- uses theLinearHicDisplaywhich calls the HicRenderer to draw contact matrixVariantTrackuses theChordVariantDisplayin theCircularView(to render VCF records as chords) andLinearVariantDisplayin theLinearGenomeView.LinearVariantDisplayis similar to a normal feature track but has a custom feature details widget via a "selectFeature" override.SyntenyTrack- synteny tracks can be displayed in multiple view types like DotplotView and LinearSyntenyView. It uses theDotplotDisplayorLinearSyntenyDisplayrespectively to achieve this