This generic function is for updating the layer function of an existing InformativeHeatmap objects.

updateLayerFun(x, layer_fun)

Arguments

x

An InformativeHeatmap object whose layer function is to be updated.

layer_fun

A function that defines the new layer to be applied to the heatmap. The class of this object will determine which specific method is used.

Value

Returns an updated InformativeHeatmap object with the new layer function applied.