This generic function is designed to retrieve the Heatmap object from InformativeHeatmap objects. Specific methods should be defined for different classes to extract the Heatmap object as needed.
getHeatmapObject(x)
The result of the specific method for retrieving the Heatmap object, typically a Heatmap object.