Skip to contents

Wraps the heatmaps::CoverageHeatmap function to produce a heatmap centred on the boundaries of genomic ranges. Assuming that these ranges are a GBreaks object, then the boundaries approximate breakpoints.

Usage

feature_coverage(gr, feat, window, label, ...)

Arguments

gr

A GRanges object.

feat

A GRanges object representing the feature of interest.

window

Window over which to observe feature coverage.

label

Label for the plot.

...

Other arguments passed to get_bps in order to select the boundaries, their order and their orientation.

Value

Returns a Heatmap object that can be piped into heatmaps::smoothHeatmap and then heatmaps::plotHeatmapList or heatmaps::plotHeatmapMeta.

See also

Other plot functions: bp_heatmap(), bp_pair_analysis(), makeOxfordPlots(), plotApairOfChrs()

Other heatmap functions: bp_heatmap(), bp_pair_analysis()