Plot the ligand-receptor correlation summary
Usage
gene_corr_cci(
results = .getResultsFromGlobal(),
all.genes = FALSE,
.pair = NULL,
.exclude.same.types = TRUE
)
Arguments
- results
The scMultisim result object
- all.genes
Whether to use all genes or only the ligand/receptor genes
- .pair
Return the raw data for the given LR pair
- .exclude.same.types
Whether to exclude neighbor cells with same cell type
Examples
results <- sim_example_200_cells_spatial()
#> CCI simulation is enabled.
#> Get CIF...100..200..Done
#> Get params...Done
#> Simulating...50..100..150..200..
#> Time spent: 2.11 mins
gene_corr_cci(results)
#> [[1]]
#> target regulator correlation corr.non.nbs corr.non.ct
#> 1 101 103 0.13046674 -0.04319376 0.02076041
#> 2 102 104 0.05855992 0.02218742 0.01952666
#>
#> [[2]]
#>