scSLAT.utils.norm_to_raw
- scSLAT.utils.norm_to_raw(adata, library_size='total_counts', check_size=100)[source]
Convert normalized adata.X to raw counts
- Parameters:
adata (
anndata._core.anndata.AnnData
) – adata to be convertlibrary_size (
typing.Union
[str
,numpy.ndarray
,None
]) – raw library size of every cells, can be a key of adata.obs or a arraycheck_size (
typing.Optional
[int
]) – check the head [0:check_size] row and column to judge if adata normed
- Return type:
Note
Adata must follow scanpy official norm step