R/InformativeHeatmap.R
getHeatmapObject-InformativeHeatmap-method.Rd
This method extracts the underlying Heatmap object stored within an
InformativeHeatmap
object. It allows direct access to the Heatmap
object
for further manipulation or inspection using ComplexHeatmap
package
functionalities. Note that the ComplexHeatmap
package is required
to fully utilize the returned Heatmap object.
# S4 method for class 'InformativeHeatmap'
getHeatmapObject(x)
A Heatmap object from the ComplexHeatmap
package.
# \donttest{
# Assume `ih` is an existing InformativeHeatmap object
heatmap_obj <- getHeatmapObject(ih)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'x' in selecting a method for function 'getHeatmapObject': object 'ih' not found
# Now `heatmap_obj` can be used directly with ComplexHeatmap functions
# }