plot_screen | R Documentation |
Generates a ranked scatter plot of genetic interaction scores from GINI_screen
outputs
plot_screen(
result_df = NULL,
label_genes = FALSE,
gene_list = NULL,
label_n = NULL
)
result_df |
data frame, A data frame output from |
label_genes |
logical, TRUE to trigger gene name labeling, Default: FALSE |
gene_list |
characters, A vector of Hugo Symbols to plot. labels_genes must be TRUE to plot them, Default: NULL |
label_n |
integer, Number of genes from either end to label, Default: 1 |
A plot generated by ggplot2, additional ggplot layers can be applied directly using +
gretta_data_dir <- './GRETTA_example/'
gretta_output_dir <- './GRETTA_example_output/'
if(!dir.exists(gretta_data_dir)){
download_example_data(".")
}
load(paste0(gretta_data_dir,"/sample_22Q2_ARID1A_KO_screen.rda"), envir = environment())
plot_screen(screen_results, label_genes = TRUE, "ARID1B")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.