harmony
- scib.integration.harmony(adata, batch, hvg=None, **kwargs)
Harmony wrapper function
Based on harmony-pytorch version 0.1.7
- Parameters:
adata – preprocessed
anndataobjectbatch – 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 as well as an embedding representation of the corrected data