View source: R/save_dye_screen_model_plots.R
plot_analyzed_hits | R Documentation |
A wrapper function for plot_with_preds
; plot_analyzed_hits
uses an additional input tibble to filter the plotted data to include only hits, and adds custom plot titles. In a better version of this function, would likely be refactored alongside plot_with_preds()
and save_model_figure()
.
plot_analyzed_hits(
tidied_for_plot,
hits_by_channel,
model_tmas,
.dye_channel_col = "dye_channel_f",
.plot_assignment = "hit",
.var_col = ".var",
...
)
tidied_for_plot |
a tibble of raw data, as returned by |
hits_by_channel |
a tibble, as expected by |
model_tmas |
a tibble, as returned by |
.dye_channel_col |
a string, giving the name of the column in |
.plot_assignment |
a string, passed to |
.var_col |
a string, giving the name of the column in both |
... |
additional arguments, passed to |
a ggplot2 object, as returned by plot_with_preds
, for a defined subset of the data, and with a plot title.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.