:exclamation: This is a read-only mirror of the CRAN R package repository. multipanelfigure — Infrastructure to Assemble Multi-Panel Figures (from Grobs)
3
stars
1
forks
source link
Could not use Heatmap generated using Heatmap function with the capture_base_plot function #3
This is my code to generate the heatmap:
Using this code I could generate a heatmap. However, when the object p_heat is used in the following function
heat_map <- capture_base_plot(p_heat)
I get the following error and some warnings
Error in switch(x[[2]][[1]]$name, C_abline = C_abline(x[[2]]), C_plot_new = C_plot_new(x[[2]]), :
EXPR must be a length 1 vector
In addition: There were 28 warnings (use warnings() to see them)
Any help is appreciated. thanks !!!