stereoAlign.alignment.scgen_alignment¶
- stereoAlign.alignment.scgen_alignment(adata: AnnData, batch_key, cell_type, epochs=200, hvg=None, **kwargs)[source]¶
scGen wrapper function
Based on scgen with parametrization taken from the tutorial notebook.
- Parameters:
adata – preprocessed
anndataobjectbatch_key – batch key in
adata.obshvg – list of highly variables to subset to. If
None, the full dataset will be used
- Returns:
anndataobject containing the corrected feature matrix