Skip to content

Commit

Permalink
Merge pull request #114 from gokceneraslan/master
Browse files Browse the repository at this point in the history
Make diffusion maps compatible with new Neighbors class
  • Loading branch information
falexwolf authored Apr 3, 2018
2 parents 207dbe4 + 3633801 commit b52b41e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scanpy/tools/diffmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def diffmap(adata, n_comps=15, copy=False):
dmap = dpt.DPT(adata)
dmap.compute_transitions()
dmap.compute_eigen(n_comps=n_comps)
adata.obsm['X_diffmap'] = dmap.rbasis
adata.uns['diffmap_evals'] = dmap.evals
adata.obsm['X_diffmap'] = dmap.eigen_basis
adata.uns['diffmap_evals'] = dmap.eigen_values
logg.info(' finished', time=True, end=' ' if settings.verbosity > 2 else '\n')
logg.hint('added\n'
' \'X_diffmap\', diffmap coordinates (adata.obsm)\n'
Expand Down

0 comments on commit b52b41e

Please sign in to comment.