View source: R/save_dye_screen_figs.R
blank_label_plot | R Documentation |
The blank_label_plot()
function is used to generate a blank plot which prints a given string of text. Used in the save_*_screen()
family functions, to handle cases where one of the expected assignments (e.g. "hit", "sensitive", "none") have been given to no dyes.
blank_label_plot(.text, .text_preamble = "No dyes with assignment: ", ...)
.text |
a character string, appended after .text_preamble, and printed to the blank plot. Typically used to pass assignment to the label, e.g "hit" |
.text_preamble |
a character string, which appears directly before .text. Defaults to No dyes with assignment: " |
... |
additional named arguments, passed to |
a ggplot2 object containing a blank plot with theme_void()
, with the specified label. Will appear just as text when displayed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.