Closed FelixTheStudent closed 2 years ago
pype_from_seurat gave the following error:
Error in methods::as(seurat@graphs[[graph_choice]], "dgCMatrix") : no method or default for coercing “NULL” to “dgCMatrix”
The solution was to use the explicit object creation strategy outlined in the tutorial, like this:
obj <- list( raw = SeuratObject::GetAssayData(midgut.combined, "counts"), neighbors= as(midgut.combined@graphs[["integrated_nn"]], "dgCMatrix")>.1, embed = FetchData(midgut.combined, c("UMAP_1", "UMAP_2")), totalUMI = midgut.combined$nCount_RNA )
Fixed with commit 2cd1259354a0dc314e3089ab4f318fe6fb3cea64. If you have cellpypes 0.1.14 or newer, this error should not occur. If it does, reopen this issue or create a new one!
pype_from_seurat gave the following error:
The solution was to use the explicit object creation strategy outlined in the tutorial, like this: