Skip to contents

Format CellChat CCI results

Usage

format_cellchat(
  input_interactions,
  ref_db = "data/interactions_db/ref_db.rds",
  output_dir = ".",
  sample_id = NULL
)

Arguments

input_interactions

path to file with the inferred interactions from CellChat (output file generated by run_cellchat()) (rds file)

ref_db

Path to interactions database (default = "data/interactions_db/ref_db.rds")

output_dir

output directory for saving output (default = '.')

sample_id

sample id to use for saving formatted CCI results (default = NULL; will determine sample id based on 'input_interactions' for this input_interactions has to be of the format 'cellchat__sample_id.rds')