This plot is for when you'd like to examine a target pair specifically – meant to be functionally equivalent to Fig 3b CRISPR scores for representative synthetic lethal paralog pairs. Data shown are the mean CRISPR score for each single KO or DKO target across three biological replicates with replicate data shown in overlaid points.
plot_targets_bar(gimap_dataset, target1, target2, reps_to_drop = "")
A special dataset structure that is originally setup using `setup_data()` and has had gi scores calculated with `calc_gi()`.
Name of the first target to be plotted e.g.
Name of the second target to be plotted e.g.
Names of replicates that should be not plotted (Optional)
if (FALSE) { # \dontrun{
gimap_dataset <- get_example_data("gimap") %>%
gimap_filter() %>%
gimap_annotate(cell_line = "HELA") %>%
gimap_normalize(
timepoints = "day"
) %>%
calc_gi()
# To plot results, pick out two targets from the gi_score table
head(dplyr::arrange(gimap_dataset$gi_score, fdr))
# "NDEL1_NDE1" is top result so let's plot that
plot_targets_bar(gimap_dataset, target1 = "NDEL1", target2 = "NDE1")
} # }