Convert: loom ==> Seurat

loom_to_seurat(object, verbose = T)

Examples

#> Warning: Overwriting previous file /var/folders/zq/h7mtybc533b1qzkys_ttgpth0000gn/T//RtmpzkB6Hz/pbmc_small.loom
#> Saving data from RNA as /matrix
#> Adding slot counts for assay RNA
#> Adding layer counts
#> Adding col attribute CellID
#> Adding col attribute orig.ident
#> Adding col attribute nCount_RNA
#> Adding col attribute nFeature_RNA
#> Adding col attribute RNA_snn_res.0.8
#> Adding col attribute letter.idents
#> Adding col attribute groups
#> Adding col attribute RNA_snn_res.1
#> Adding row attribute Gene
sce <- loom_to_seurat(loom)
#> + loom ==> Seurat
#> Error in UseMethod(generic = "as.Seurat", object = x): no applicable method for 'as.Seurat' applied to an object of class "R6ClassGenerator"