将复杂热图的输出捕获为 grob?

Capture output of complexheatmap as a grob?

ComplexHeatmap is a god sent tool with respect to heatmaps as a plot type. As one of the authors of multipanelfigure, I fail, however, to find a straight forward solution to capture the produced heatmap output in a grid::grob object for easy inclusion into scientific compound figures as generated by multipanelfigure.

有什么指点吗?

约翰

正如 user20650 上面指出的那样,grid::grid.grabExpr 完成了这项工作。

自版本 0.10.0 起[=13​​=]。