Create results table that has CRISPR scores, Wilcoxon rank-sum test and t tests.

calc_gi(.data = NULL, gimap_dataset)

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.

Examples

{
  gimap_dataset <- get_example_data("gimap")

  # Highly recommended but not required
  run_qc(gimap_dataset)

  gimap_dataset <- gimap_dataset %>%
    gimap_filter() %>%
    gimap_annotate() %>%
    gimap_normalize(
      timepoints = "day",
      replicates = "rep"
    ) %>%
    calc_crispr() %>%
    calc_gi()

  saveRDS(gimap_dataset, "gimap_dataset_final.RDS")
}
#> Error: there is already an output .Rmd file./gimap_QC_Report.Rmd. Please remove or rename this file, or choose another output_file name.