bento.tl.analyze_shapes¶
- bento.tl.analyze_shapes(sdata, shape_keys, feature_names, feature_kws=None, recompute=False, progress=True)¶
Analyze features of shapes.
- Parameters:
sdata (SpatialData) – Spatial formatted SpatialData
shape_keys (list of str) – List of shapes to analyze.
feature_names (list of str) – List of features to analyze.
feature_kws (dict, optional (default: None)) – Keyword arguments for each feature.
- Returns:
sdata – See specific feature function docs for fields added.
- Return type:
SpatialData