def run_diff_umap(self,use_rep='<STR_LIT>', metric='<STR_LIT>', n_comps=<NUM_LIT:15>,<EOL>method='<STR_LIT>', **kwargs):
import scanpy.api as sc<EOL>sc.pp.neighbors(self.adata,use_rep=use_rep,n_neighbors=self.k,<EOL>metric=self.distance,method=method)<EOL>sc.tl.diffmap(self.adata, n_comps=n_comps)<EOL>sc.pp.neighbors(self.adata,use_rep='<STR_LIT>',n_neighbors=self.k,<EOL>metric='<STR_LIT>',method=method)<EOL>if '<STR_LIT>' in self.adata.obsm.keys():<EOL><INDENT>self.adata.obsm['<STR_LIT>'] = self.adata.obsm['<STR_LIT>']<EOL><DEDENT>sc.tl.umap(self.adata,min_dist=<NUM_LIT:0.1>,copy=False)<EOL>
Experimental -- running UMAP on the diffusion components