Summarise number and min/max/median size of hot- and cold-spots for a variable of choice.

hotspot_count(data = NULL, feature = NULL, ...)

Arguments

data

a Seurat object containing Kandinsky data (`KanData()`)

feature

character string specifying the name of the feature(s) used to compute Getis-Ord Gi* statistics

...

arguments passed to hotspot_analysis function

Value

data.frame summarising hotspot and coldspot size and number for each variable of interest

Details

This function will look for the presence of already existing hotspot annotation in the meta.data of Seurat object for the variable(s) of interest. If no annotations exist, the `hotspot_analysis()` function will be automatically called.