Skip to content

Converting SingleCellExperiment objects into Seurat objects #6692

Closed
@mass-a

Description

@mass-a

Hello,

I am having trouble converting SingleCellExperiment objects from the scRNAseq bioconductor collection using as.Seurat. Here's a reproducible example:

BiocManager::install('scRNAseq')
library(scRNAseq)

sce <- ZilionisLungData('mouse')
seurat <- as.Seurat(sce, counts = "counts", data=NULL)
Error in embeddings[i, j, drop = drop, ...] : subscript out of bounds

Several other datasets in the collection give similar errors. Any idea what's going on here? can I e.g. ask as.Seurat to only convert counts and metadata?

Thanks in advance,
-massimo

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions