Internal function to plot ranges in violin plot with a highlighted GRanges.
Source:R/bwplot.R
dot-violin_body.Rd
Internal function to plot ranges in violin plot with a highlighted GRanges.
Usage
.violin_body(
gr,
highlight = NULL,
minoverlap = 0L,
highlight_label = NULL,
highlight_colors = NULL
)
Arguments
- gr
GRanges object with as many columns as samples to plot.
- highlight
List of GRanges to use as highlight for subgroups.
- minoverlap
Minimum overlap required for a locus to be highlighted
- highlight_label
Labels for the highlight groups. If not provided, column names are used.
- highlight_colors
Array of color values for the highlighting groups