plot_combn_response | R Documentation |
Pretty-plots response for data which uses a derived null model (e.g. for comparing
dual-gene knockout effects to a multiplicative null model derived from single-gene
effects). Assumes that data was scored by score_combn_vs_single
and
significant effects were called by call_combn_hits
. Writes both a scatterplot
and a volcano plot to file in the specified folder.
plot_combn_response(
scores,
condition_name,
output_folder,
filter_names = NULL,
loess = TRUE,
neg_type = "Negative",
pos_type = "Positive",
volcano_type = "FDR",
plot_type = "png"
)
scores |
Dataframe of scores returned from |
condition_name |
Name of condition passed to |
output_folder |
Folder to output plots to. |
filter_names |
If a list of column names is given, calls points as non-significant if they are significant in the provided columsn (e.g. to remove points significant in control screens; default NULL). |
loess |
If true and data was loess-normalized, plots loess null model instead (default TRUE). |
neg_type |
Label for significant effects with a negative differential effect
passed to |
pos_type |
Label for significant effects with a positive differential effect
passed to |
volcano_type |
One of "pval" or "FDR" to specify whether to plot -log10(pval) or -log2(FDR), respectively (default "FDR"). |
plot_type |
Type of plot to output, one of "png" or "pdf" (default "png"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.