spatialDistance
spatialDistance ¶
Plot spatial distances, choosing the view with method.
A dispatcher, kept so that scimap's single sm.pl.spatial_distance entry point
still has an equivalent. Prefer calling the two views directly.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
data
|
(AnnData | SpatialData | str, required)
|
The cell table. An |
required |
method
|
str
|
|
'heatmap'
|
**kwargs
|
dict
|
Forwarded unchanged to whichever function |
{}
|
Returns:
| Name | Type | Description |
|---|---|---|
result |
None | DataFrame | tuple
|
Whatever the selected function returns. |