Skip to content

UMAP Embeddings missing by Default converting SeuratObject to Loom #190

@airabiotenor

Description

@airabiotenor

Hello,

I am trying to convert my Seurat Object to a Loom file, and realized that the UMAP embeddings do not automatically appear in the col_attrs. I added them manually, but wonder if there is a setting I am missing?

Did not result in embeddings:
loom.obj <- SeuratDisk::as.loom(Seurat.Obj, filename = "seuratobject.loom", overwrite = TRUE)

What I ended up doing:

umap <- as.data.frame(Seurat.Obj@reductions$umap@cell.embeddings)

Seurat.Obj <- AddMetaData(Seurat.Obj, umap)

loom.obj <- SeuratDisk::as.loom(Seurat.Obj, filename = "seuratobject.loom", overwrite = TRUE)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions