plot_crispr: Plot CRISPR scores after normalization

View source: R/plots-norm.R

plot_crisprR Documentation

Plot CRISPR scores after normalization

Description

This plots normalization after CRISPR scores have been calculated

Usage

plot_crispr(.data = NULL, gimap_dataset, output_file = "crispr_norm_plot.png")

Arguments

.data

Data can be piped in with tidyverse pipes from function to function. But the data must still be a gimap_dataset

gimap_dataset

A special dataset structure that is setup using the 'setup_data()' function.

output_file

A file for the output

Value

A ggplot2 boxplot of the CRISPR scores separated by the type of target. Can be used to determine the normalization has proceeded properly.

Examples



gimap_dataset <- get_example_data("gimap") %>%
  gimap_filter() %>%
  gimap_annotate(cell_line = "HELA") %>%
  gimap_normalize(
    timepoints = "day",
    missing_ids_file = tempfile()
  )

# Plot:
plot_crispr(gimap_dataset)


gimap documentation built on June 8, 2025, 10:13 a.m.