pytometry.tools.normalize_arcsinh#

pytometry.tools.normalize_arcsinh(adata, cofactor=5, inplace=True)#

Inverse hyperbolic sine transformation.

Parameters
  • adata – AnnData object

  • cofactor (float or pandas.Series) – all values are divided by this factor before arcsinh transformation recommended value for cyTOF data is 5 and for flow data 150.

  • inplace (bool, optional) – Return a copy instead of writing to adata. Defaults to True.

Returns

Depending on inplace, returns or updates adata in the following field adata.X is then a normalised adata object