View source: R/save_dye_screen_figs.R
save_full_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 two subplots, containing dyes which are declared hits, and sensitives. Each dye is represented in a single row, with each column containing raw data collected for that dye in a given fluorescent channel. Both protein and buffer data are displayed.
save_full_screen(tidied_screen, ratio_marg = 1, ...)
tidied_screen |
a tibble containing raw data from a dye screen, both protein and buffer, e.g. as output by the |
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 make_figure_title() and save_stacked_plots(). See make_figure_title() and save_stacked_plots() for possible options, which include assigning a directory to which to write the plot object created, and requesting the plot be saved using a specific the graphics device (default is "pdf" but all extentions compatible with ggsave() can be used). |
This plot is closely related to the one created by the save_stacked_screen()
function, but differs in that dyes are not yet divided into "hit", "sensitive", and "none" categories. It is often used during the process of creating those assignments, and as an output of the default dye screening workflow, this plot serves as an unbiased representation of screening data, so that screens can be re-assessed with fresh eyes after hits have been assigned if desired.
This function is often accessed through it's wrapper function, save_dye_screen_figs(), though it can be used identically on it's own. It is the third of the four standard raw data plots created in a default dye-screening workflow, where the other four plots are (1) all raw data, with no assignments displayed. Used for calling hits, as created by the save_full_screen()
function; (2) all raw data, with distinct sub-plots containing dyes given each assignment–hit, sensitive, or none–as created by the save_stacked_screen()
function; (3) raw data for just dyes assigned to "hit" and "sensitive" categories, with data collected for each dye displayed in a separate row, and data for the raw data collected for that dye in each fluorescent channel displayed in a separate colummn; (4) the hit and/or sensitive dyes, in specific channels, carried through model fitting and tma extraction.
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.