align_to_hm | R Documentation |
Align a ggheatmap object to another ggplot that shares either its columns or rows to form complex panels. This function is called internally by add_tracks, and also exported by ggheatmap.
align_to_hm(
gghm,
gplot,
pos = "bottom",
newplt_size_prop = 0.5,
legend_action = NULL,
tag_level = "new"
)
gghm |
A object with class ggheatmap, generated by |
gplot |
Another object of class ggplot, that shares either columns
(if |
pos |
One of 'top', 'bottom' or 'left'. |
newplt_size_prop |
A float between 0 and 1, that indicates the proportion
of the height (if |
legend_action |
A string specifying how guides should be treated in the layout.
See: guides in |
tag_level |
A string ('keep' or 'new') to indicate how auto-tagging should behave. See patchwork::plot_annotation. |
A joined panel object of class ggheatmap
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.