pytometry.tools.normalize_arcsinh#
- pytometry.tools.normalize_arcsinh(adata, cofactor, inplace=True)#
Inverse hyperbolic sine transformation.
- Parameters
adata – AnnData object
cofactor (float) – 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 updatesadata
in the following fieldadata.X
is then a normalised adata object