View source: R/save_dye_screen_figs.R
save_stacked_screen | R Documentation |
Creates a plot object, and saves a figure, containing raw data for all screened dyes in all measured fluorescent channels. Results are divided into three subplots, containing dyes which are declared hits, sensitives, and neither (or "none"). Each dye is represented in a single wrapped facet, and both protein and buffer data are displayed.
save_stacked_screen(tidied_screen, hits, ratio_marg = 190/110, ...)
tidied_screen |
a tibble containing raw data from a dye screen, both protein and buffer, e.g. as output by the |
hits |
a tibble containing hit assignments for each dye. Must have columns "dye" and "assignment", described below:
|
ratio_marg |
a number, giving the ratio between the total size of a facet's plot panel and the their facet panel, inclusive of borders, axis ticks, etc. Ideally this could be reliably extracted from the plot object itself in a future version of this package. Is greater than one. |
... |
additional arguments, passed to the |
This plot is closely related to the one created by the save_stacked_screen()
function, but differs in that only "hit" and "sensitive" dyes are displayed. Unlike the plot generated by save_stacked_hits()
, all channels are displayed within a single facet.
This function is often accessed through it's wrapper function, save_dye_screen_figs()
, though it can be used identically on it's own. See the documentation of the save_dye_screen_figs()
function for more information on what each of these four plots display.
if assigned to an object, returns a ggproto object. Always saves a figure to the current working directory, or the directory specified through arguments to ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.