cytonormpy.CytoNorm.normalize_data#
- CytoNorm.normalize_data(adata=None, file_names=None, batches=None, n_jobs=8)#
Applies the normalization procedure to the files and writes the data to disk or to the anndata file.
Use the file_names and batches parameters to normalize data that were not yet available upon setup.
- Parameters:
adata (
Optional[AnnData]) – Optional. If passed, it is assumed that the original anndata object has been modified. If left None, the original anndata will be used.file_names (
Optional[Union`[:py:class:`list[str],str]]) – Optional. If left None, all files from the cytonorm object will be used.batches (
Optional[Union`[:py:class:`list[Union[str,int]],str,int]]) – Optional. Specifies the batches of file_names.n_jobs (
int) – Number of threads used for data analysis.
- Return type:
None