mnn

scib.integration.mnn(adata, batch, hvg=None, **kwargs)

MNN wrapper function (mnnpy implementation)

Based on mnnpy package version 0.1.9.5

Parameters:
  • adata – preprocessed anndata object

  • batch – batch key in adata.obs

  • hvg – list of highly variables to subset to. If None, the full dataset will be used

Returns:

anndata object containing the corrected feature matrix