| dec_cci | R Documentation | 
Identify the cell-cell communications for single-cell or spot-based spatial transciptomics data with proximal ligand-receptor-target interactions.
dec_cci(
  object,
  celltype_sender,
  celltype_receiver,
  n_neighbor = 10,
  min_pairs = 5,
  min_pairs_ratio = 0,
  per_num = 1000,
  pvalue = 0.05,
  co_exp_ratio = 0.1,
  if_doParallel = T,
  use_n_cores = NULL
)
| object | SpaTalk object after  | 
| celltype_sender | Name of celltype_sender. | 
| celltype_receiver | Name of celltype_receiver. | 
| n_neighbor | Number of neighbor cells to select as the proximal cell-cell pair. Default is  | 
| min_pairs | Min proximal cell-cell pairs between for sending and receiving cell types. Default is  | 
| min_pairs_ratio | Min proximal cell-cell pairs ratio between for sending and receiving cell types. Default is  | 
| per_num | Number of repeat times for permutation test. Default is  | 
| pvalue | Include the significantly proximal LR pairs with this cutoff of p value from permutation test. Default is  | 
| co_exp_ratio | Min cell ratio in receiving cells with co-expressed source and target genes for predicting the downstream pathway activity. | 
| if_doParallel | Use doParallel. Default is TRUE. | 
| use_n_cores | Number of CPU cores to use. Default is all cores - 2. | 
SpaTalk object containing the inferred LR pairs and pathways.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.