bento.ut.get_shape¶
- bento.ut.get_shape(sdata, shape_key, sync=True) GeoSeries ¶
Get a GeoSeries of Polygon objects from an SpatialData object.
- Parameters:
sdata (SpatialData) – Spatial formatted SpatialData object
shape_key (str) – Name of shape column in sdata.shapes
sync (bool) – Whether to set and retrieve shapes synced to cell shape. Default True.
- Returns:
GeoSeries of Polygon objects
- Return type:
GeoSeries