spatialtis.cell_interaction¶
- class spatialtis.cell_interaction(data, method='pval', resample=1000, pval=0.01, order=False, **kwargs)[source]¶
Profiling cell-cell interaction using permutation test
Neighborhood analysis tells you the relationship between different type of cells
Association (1)
Avoidance (-1)
No relationship (0)
- Parameters
data (anndata._core.anndata.AnnData) – AnnData object to perform analysis
method (Optional[str]) – “pval” and “zscore” (Default: “pval”)
resample (int) – Number of times to perform resample
pval (float) – The p-value threshold to determine significance
order (bool) – If False, (Cell_A, Cell_B) and (Cell_B, Cell_A) are the same interaction (Default: False)
**kwargs – Pass to
spatialtis.abc.AnalysisBase
See also