desc

scib.integration.desc(adata, batch, res=0.8, ncores=None, tmp_dir=None, use_gpu=False, gpu_id=None)

DESC wrapper function

Based on desc package version 2.0.3. Parametrization was taken from: https://github.com/eleozzr/desc/issues/28 as suggested by the developer (rather than from the tutorial notebook).

Parameters:
  • adata – preprocessed anndata object

  • batch – batch key in adata.obs

Returns:

anndata object containing the corrected embedding