Description Usage Arguments Details Value Examples
View source: R/gemini_boxplot.R
A function to visualize the results of GEMINI over the raw data.
1 2 |
Model |
a gemini.model object |
g |
a character naming a gene to visualize |
h |
a character naming another gene to visualize |
nc_gene |
a character naming the gene to use as a negative control,
to be paired with each individual g and h. Defaults to |
sample |
a character naming the sample to visualize |
show_inference |
a logical indicating whether to show the inferred individual or combined values for each gene/gene pair (default TRUE) |
color_x |
a logical indicating whether to visualize the sample-independent effects for each individual guide or guide pair (default FALSE) |
identify_guides |
a logical indicating whether to identify guides with unique colors and shapes (default FALSE) |
Raw LFC data is plotted for each gene combination ('g'-'nc_gene', 'h'-'nc_gene', 'g'-'h') in a standard boxplot. Horizontal green line segments are plotted over the box plots indicating the individual gene effects or the inferred total effect of a particular gene combination. Each guide pair can be colored based on the inferred sample independent effects g_i, h_j, and g_i,h_j. Additionally, colors and shapes can be used to distinguish unique guides targeting gene g and h, respectively.
a ggplot2 object
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.