athena.preprocessing.preprocess module¶
Summary¶
Functions:
Computes the arcsinh transformation of the expression values according to: |
|
Extract centroids from segementation masks. |
Reference¶
-
extract_centroids
(so, spl, mask_key='cellmasks', inplace=True)[source]¶ Extract centroids from segementation masks.
- Parameters
so – SpatialOmics instance
spl – sample for which to extract centroids
mask_key – segmentation masks to use
inplace – Whether to add the metric to the current SpatialOmics instance or to return a new one.
Returns: