run_gRNA_gene_pair_analysis_at_scale.RdRuns the gene-gRRNA pair ananysis across an entire pod of gene-gRNA pairs.
run_gRNA_gene_pair_analysis_at_scale(
pod_id,
gene_precomp_dir,
gRNA_precomp_dir,
results_dir,
log_dir,
gene_matrix,
combined_perturbation_matrix,
covariate_matrix,
regularization_amount,
side,
B,
full_output
)id of the pod to compute
the directory containing the results of the gene precomputation
the directory containing the results of the gRNA precomputation
directory in which to store the results
(optional) directory in which to sink the log file
a gene-by-cell expression matrix; the rows (i.e., gene IDs) and columns (i.e., cell barcodes) should be named
a binary matrix of perturbations (i.e., gRNA group-to-cell assignments); the rows (i.e., gRNA groups) and columns (i.e., cell barcodes) should be named.
the cell-specific matrix of technical factors, ideally containing the following covariates: log-transformed gene library size (numeric), log-transformed gRNA library size (numeric), percent mitochondrial reads (numeric), and batch (factor). The rows (i.e., cell barcodes) should be named
non-negative number specifying the amount of regularization to apply to the negative binomial dispersion parameter estimates
sidedness of the test; one of "both," "left," and "right"
number of resamples to draw for the conditional randomization test
return the full output (TRUE) or a simplified, reduced output (FALSE; default)?