R/dendrogram.r
extract_legend_grob.Rd
Convenience helper around cowplot::get_legend().
cowplot::get_legend()
extract_legend_grob(p)
A ggplot object.
ggplot
A grob containing the legend, or NULL if the plot has no legend.
NULL