Skip to content

Commit d53045d

Browse files
umap dimred name
1 parent 9fd0874 commit d53045d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/sc.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,5 +293,5 @@ ad_as_Seurat <- function(h5ad) {
293293
s.obj = anndataR::read_h5ad(h5ad, to="Seurat")
294294
obsm = rhdf5::h5read(h5ad, "obsm")
295295
colnames(obsm$X_umap) <- rhdf5::h5read(h5ad, "/obs/_index")
296-
s.obj[["UMAP"]] <- Seurat::CreateDimReducObject(embeddings=t(obsm$X_umap), key="UMAP_", assay="RNA")
296+
s.obj[["umap"]] <- Seurat::CreateDimReducObject(embeddings=t(obsm$X_umap), key="UMAP_", assay="RNA")
297297
}

0 commit comments

Comments
 (0)