We're calling Vision() from within an R package to load a seurat object. When we call our package's method from R (which in turn calls Vision), the output is this:
Importing counts from obj[["RNA"]]@counts ...
Normalizing to counts per 10,000...
Importing Meta Data from obj@meta.data ...
Error in Reductions(obj) : could not find function "Reductions"
I believe you should either quality the Seurat methods, or @import Seurat here:
|
setMethod("Vision", signature(data = "Seurat"), |
Is that something you'd consider adding? I'm happy to draft a PR. If I manually run "library(Seurat)" to load seurat, this works, but that's a sub-optimal solution.