Same function as grid.arrange
, with the functionality of integrating
ComplexHeatmap and adding panel labels
1 2 3 4 5 6 7 8 9 10 11 12 13 | arrange_plots(
grob_list,
save_path,
grid_layout,
panel_label = NULL,
margin_width = 0.79,
margin_height = 0.79,
panel_spacing = 0.01,
plot_width = 9,
plot_height = 9,
aes_param = list(highlight_font = list(fontface = "bold", fontsize = 40), font_fam =
"Arial")
)
|
grob_list |
a list of plots. They can be ggplots, ComplexHeatmap, data.frame, character, image array |
save_path |
where the plots are saved |
grid_layout, |
same as the argument in |
margin_width |
the width of the margin in inches. The default is 0.79in
(2cm). Same unit in |
plot_width |
the width of each subplot. |
plot_height |
same concept as plot_width |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.