pytometry.tools.normalize_arcsinh#
- pytometry.tools.normalize_arcsinh(adata, cofactor, copy=False)#
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.
copy (bool, optional) – Return a copy instead of writing to adata. Defaults to False.
- Returns
Depending on
copy
, returns or updatesadata
in the following fieldadata.X
is then a normalised adata object