Skip to contents

Infer cell-cell communication for query data using reference

Usage

infer_query(
  seurat_obj,
  reference_path,
  database,
  celltype_col,
  celltype_mapping = NULL,
  save_path = NULL,
  min_genes_per_cell = 50L,
  debug_mode = FALSE,
  k = NULL
)

Arguments

seurat_obj

Query Seurat object

reference_path

Path to reference panel

database

Database name or path

celltype_col

Column name for cell type

celltype_mapping

Optional named list mapping reference to query cell types

save_path

Path to save results

min_genes_per_cell

Minimum genes per cell

debug_mode

Whether to output debug files

k

Scaling factor for confidence interval (NULL for auto)

Value

List with inference results