We require a few bookkeeping files (that we call "dictionaries") for the gRNA and gene precomputation steps. This file creates those dictionaries and stores them in the appropriate locations on disk.

create_and_store_dictionaries(
  gene_gRNA_group_pairs,
  gene_precomp_dir,
  gRNA_precomp_dir,
  results_dir,
  pod_sizes
)

Arguments

gene_gRNA_group_pairs

a data frame specifying the gene-gRNA group pairs to test for association; the data frame should contain columns named gene_id and gRNA_group.

gene_precomp_dir

the directory in which to store the gene precomputations

gRNA_precomp_dir

the directory in which to store the gRNA precomputations

results_dir

the directory in which to store the results

pod_sizes

an integer vector with three named elements: gRNA, gene, and pair. These elements give the sizes of the respective "pods."

Value

an integer vector containing the number of pods in the gene, gRNA, and pairs dictionaries.