bb_plot_heatmap_colHighlight: Plot a Column Highlight

View source: R/heatmap_plotting.R

bb_plot_heatmap_colHighlightR Documentation

Plot a Column Highlight

Description

Use geom_text_repel to selectively highlight some column names. Useful when there are too many to highlight to be able to use the axis directly.

Usage

bb_plot_heatmap_colHighlight(
  obj,
  highlights = character(0),
  side = c("top", "bottom", "right", "left"),
  ...
)

Arguments

obj

A summarized heatmap

highlights

A vector of columns to highlight, Default: character(0)

side

Side on which to put the higlight, Default: c("top", "bottom", "right", "left")

...

Other arguments to pass to geom_text_repel

Value

a ggplot


blaserlab/blaseRtools documentation built on April 14, 2025, 6:04 p.m.