Closed yojetsharma closed 4 months ago
Hm... I've been restructuring some things to make it compatible with Seurat v5 and it's possible that some bugs slipped in. I'll look into it
Ah, I think that probably the vignette should be changed to accommodate the changes to Pando. The new Pando object is now not compatible with Seurat functions anymore, but the seurat object can be accessed with pando_obj@data
. So in the context of the vignette, this would be
mod_act_pos <- AddModuleScore(seurat@data, ...)
Ah, I think that probably the vignette should be changed to accommodate the changes to Pando. The new Pando object is now not compatible with Seurat functions anymore, but the seurat object can be accessed with
pando_obj@data
. So in the context of the vignette, this would bemod_act_pos <- AddModuleScore(seurat@data, ...)
Okay. But just before this, when I set the defaultassay to RNA it gives the same error (as shown above). So should I skip that line?
Ah yes, this should then also be
DefaultAssay(seurat@data) <- "RNA"
Alternatively, you can just introduce something like
pando_obj <- seurat
seurat <- pando_obj@data
so that seurat
is an actual seurat object again, and then run the vignette normally.
Ah yes, this should then also be
DefaultAssay(seurat@data) <- "RNA"
Alternatively, you can just introduce something like
pando_obj <- seurat seurat <- pando_obj@data
so that
seurat
is an actual seurat object again, and then run the vignette normally.
Thanks, it worked! I had a follow-up doubt: how can we get a scale for the nodes which are colored and sized? Like the one done in your manuscript
I am trying to run the scMultiome vignette, and when running pando, I am stuck with this error: