spatialtis.hotspot¶
- class spatialtis.hotspot(data, selected_types=None, search_level=3, quad=None, rect_side=None, pval=0.01, **kwargs)[source]¶
-
Used to identify cells that cluster together.
- Parameters
data (anndata._core.anndata.AnnData) – AnnData object to perform analysis
selected_types (Optional[Union[List, Tuple, pandas.core.series.Series, numpy.ndarray]]) – Select your interested cell types
search_level (int) – How deep the search level to reach
quad (Optional[Tuple[int, int]]) – A tuple (X, Y), Use a grid that is X * Y to tessellation your ROI
rect_size – {rect_size}
pval (float) – The p-value threshold to determine significance
**kwargs – Pass to
spatialtis.abc.AnalysisBase
rect_side (Optional[Tuple[float, float]]) –