plotSignificantRegions: This produces a plot of the region of interest showing...

View source: R/deltaCaptureC.R

plotSignificantRegionsR Documentation

This produces a plot of the region of interest showing regions of significance.

Description

This function takes a input the GRanges object produced by getSignificant regions and produces a ggplot of significant features

Usage

plotSignificantRegions(
  significantRegions,
  significanceType = "abs",
  title = "Significant Regions",
  xLabel = "viewpoint",
  legend = TRUE
)

Arguments

significantRegions

a GRanges object as produced by getSignificantRegions

significanceType

= 'abs' a variable indicating whether to plot significance according to min, max or abs.

title

a title for the plot

xLabel

= 'viewpoint' supplies an xlabel

legend

= TRUE whether or not to show the legend

Value

a ggplot object

Examples

plotOfSignificantRegions = plotSignificantRegions(significantRegions)

michaeldshapiro/deltaCaptureC documentation built on April 21, 2023, 8:18 a.m.