get_gg_legend: get ggplot legend

View source: R/misc.R

get_gg_legendR Documentation

get ggplot legend

Description

gets a ggplot legend

Usage

get_gg_legend(a.gplot)

Arguments

a.gplot

a ggplot

Note

modified from https://stackoverflow.com/questions/12041042/how-to-plot-just-the-legends-in-ggplot2

See Also

Other misc: %nin%(), as.bait(), as.goi(), bold(), catf(), color_distinct(), color_gradient(), enumerate_replicate_combinations(), hline(), italics(), lun(), null_omit(), shape_to_symbol(), symbol_to_shape(), vline()


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.