squidpy.im.ImageContainer.features_summary
- ImageContainer.features_summary(layer, library_id=None, feature_name='summary', channels=None, quantiles=(0.9, 0.5, 0.1))
Calculate summary statistics of image channels.
- Parameters:
layer (
str) – Image layer inimgthat should be processed. If None and only 1 layer is present, it will be selected.library_id (
str|None) – Name of the Z-dimension that this function should be applied to.feature_name (
str) – Base name of feature in resulting feature valuesdict.channels (
int|Sequence[int] |None) – Channels for this feature is computed. If None, use all channels.
- Return type:
- Returns:
Returns features with the following keys for each channel c in
channels:'{feature_name}_ch-{c}_quantile-{q}'- the quantile features for each quantile q inquantiles.'{feature_name}_ch-{c}_mean'- the mean.'{feature_name}_ch-{c}_std'- the standard deviation.