stereoAlign.alignment.desc_alignment

stereoAlign.alignment.desc_alignment(adata: AnnData, batch_key, res=0.8, ncores=None, tmp_dir=None, use_gpu=False, gpu_id=None)[source]

DESC wrapper function

Based on desc package 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_key – batch key in adata.obs

Returns:

anndata object containing the corrected embedding