PolyGenius
Contents

PolyGeniusGenomeTrack

A genome track from a visualize builder

An S3 list returned by any visualize$...$*.track() builder: a plain spec (mark, data, params, positions, height, label, build) that holds no closures. It composes only through visualize$genome$stack(), not +. print() draws it standalone on an axis derived from its own $positions; plot() returns the rendering as a ggplot object.

Usage

print.PolyGeniusGenomeTrack(x, ...)

S3 method for class 'PolyGeniusGenomeTrack'

plot(x, y, ...)

Arguments

ArgumentDescription
xA PolyGeniusGenomeTrack.
...Unused.
yUnused.

Value

print() returns x, invisibly, after drawing the plot. plot() returns a ggplot object (concrete class ggplot2::ggplot) drawn on the track's own genome axis, so it composes with +.

See Also

Aliases: PolyGeniusGenomeTrack, print.PolyGeniusGenomeTrack, plot.PolyGeniusGenomeTrack