Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
beyondpie committed Jan 24, 2024
1 parent f8e9be1 commit 8b52bfc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion snapatac2-python/snapatac2/tools/_embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,9 @@ def umap(
if use_dims is not None:
data = data[:, :use_dims] if isinstance(use_dims, int) else data[:, use_dims]

umap = UMAP(random_state=random_state, n_components=n_comps).fit_transform(data)
umap = UMAP(random_state=random_state,
n_components=n_comps,
**kwargs).fit_transform(data)
if inplace:
adata.obsm["X_" + key_added] = umap
else:
Expand Down

0 comments on commit 8b52bfc

Please sign in to comment.