sainsc.LazyKDE.load_local_maxima
- sainsc.LazyKDE.load_local_maxima(genes=None, *, spatialdata=False)
Load the gene expression (KDE) of the local maxima.
The local maxima (
sainsc.LazyKDE.local_maxima) are calculated and returned asanndata.AnnDataobject.- Parameters:
- Return type:
- Raises:
ModuleNotFoundError – If spatialdata is set to True but the package is not installed.
ValueError – If self.kernel is not set.