InteractionTrack-class: The InteractionTrack class

Description

Description

A class to hold chromatin interaction data for a specific genomic region.

The InteractionTrack class is a specific Gviz-derived class for enabling the visualisation of chromatin interaction data. It allows interactions on a specified chromosome to be visualised by examining interactions between anchors as bezier curves. The object is instantiated and used in a similar fashion to standard Gviz tracks, e.g., plotted using the plotTracks function.

Several additional display parameters are defined for this class:

plot.anchors:

Logical scalar indicating whether anchor elements are to be drawn.

col.anchors.line:

String specifying the colour of border of these anchor elements.

col.anchors.fill:

String specifying the colur to fill these anchor elements.

plot.outside:

Logical scalar indicating whether interactions spanning outside of the window are to be plotted.

col.outside:

String specifying the line colour to use for outside-spanning interactions.

plot.trans:

Logical scalar indicating whether trans-chromosomal interactions are to be plotted.

col.trans:

String specifying the line colour to use for trans-chromosomal interactions.

col.interactions:

String specifying the colour of arcs representing interactions within the region of interest.

col.interaction.types:

A named character vector of colours to use for each type of interaction, where the name corresponds to the type of interaction (e.g., promoter-promoter, distal-promoter).

col.anchors.line.node.class

A named character vector of colours to use for the border of each type of anchor element, where the name corresponds to the anchor type (e.g., promoter).

col.anchors.fill.node.class

A named character vector of colours to use for the fillof each type of anchor element, where the name corresponds to the anchor type (e.g., promoter).

A number of options are available to convey quantitative information:

All of these parameters can be set with standard methods, i.e., displayPars<- on a InteractionTrack object.


LTLA/fugi documentation built on June 22, 2019, 8:50 p.m.