scanvi
- scib.integration.scanvi(adata, batch, labels, hvg=None, max_epochs=None)
scANVI wrapper function
Based on scvi-tools version >=0.16.0 (available through conda)
Note
Use non-normalized (count) data for scANVI!
- Parameters:
adata – preprocessed
anndataobjectbatch – batch key in
adata.obslabels – label 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