Combine ICG scores in a pairwise manner.
combineICG(
cpgObject,
selected_ints = NULL,
selected_genes = NULL,
specific_genes_1 = NULL,
specific_genes_2 = NULL,
min_cells = 5,
min_int_cells = 3,
min_fdr = 0.05,
min_spat_diff = 0,
min_log2_fc = 0.5,
do_parallel = TRUE,
cores = NA,
verbose = T
)
ICG (interaction changed gene) score object
subset of selected cell-cell interactions (optional)
subset of selected genes (optional)
specific geneset combo (need to position match specific_genes_2)
specific geneset combo (need to position match specific_genes_1)
minimum number of target cell type
minimum number of interacting cell type
minimum adjusted p-value
minimum absolute spatial expression difference
minimum absolute log2 fold-change
run calculations in parallel with mclapply
number of cores to use if do_parallel = TRUE
verbose
cpgObject that contains the filtered differential gene scores