View source: R/save_dye_screen_figs.R
save_dye_screen_figs | R Documentation |
The save_dye_screen_figs()
function is used to quickly generate and save three of the four standard raw data figures in a dye screening workflow. See the 'Details' section below for more information on each of these plots.
save_dye_screen_figs(tidied_screen, plot_type, hits, ...)
tidied_screen |
a tibble containing raw data from a dye screen, both protein and buffer, e.g. as output by the |
plot_type |
type of figure to create. Options: "full_screen", "divided", "hits_by_channel", which generate and save figures created by the |
hits |
a tibble containing hit assignments for each dye. Must have columns "dye" and "assignment", described below:
|
... |
additional arguments passed to the |
The three plots which can be generating using save_dye_screen_figs()
are:
all raw data, with no assignments displayed. Used for calling hits, as created by the save_full_screen()
function.
all raw data, with distinct sub-plots containing dyes given each assignment–hit, sensitive, or none–as created by the save_stacked_screen()
function.
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, as created by the save_stacked_hits()
function
Not accessed though this function. For reference, the fourth plot displays the hit and/or sensitive dyes, in specific channels, carried through model fitting and tma extraction, alongside the results of the model fitting and tma extraction.
if assigned to an object, returns a ggproto object. Also saves the figure.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.