rapids_singlecell.gr.neighbors.TransformPostprocessor#

class rapids_singlecell.gr.neighbors.TransformPostprocessor(transform=None)[source]#

Remove stored zeros, then apply a spectral or cosine connectivity transform.

Parameters:
transform str | None (default: None)

Connectivity transform: None, "spectral" (normalization by column degrees), or "cosine" (similarity between connectivity rows). Stored zeros are removed from both matrices; distance values are unchanged.

Attributes table#

Attributes#

transform: str | None = None#