get_hmPlot: Get and update heatmap from ggheatmap

View source: R/utils.R

get_hmPlotR Documentation

Get and update heatmap from ggheatmap

Description

Functions to get and modify heatmap data

Usage

get_hmPlot(gghm)

update_hmPlot(gghm, new_hm)

Arguments

gghm

an object of class ggheatmap

new_hm

an object of class ggplot, which corresponds to the heatmap portion of the ggheatmap to overwrite the current heatmap portion.

Details

Allows the user to update graphical parameters of the heatmap by adding onto it with ggplot syntax as they like. You first perform a new_hm <- get_hmPlot(gghm) to get the object, which can then be modified and re-written by setting gghm <- update_hmPlot(gghm, new_hm)


csgroen/ggheatmapper documentation built on Dec. 3, 2023, 7:32 p.m.