-
Notifications
You must be signed in to change notification settings - Fork 915
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to find an inherited method for function ‘imgRaster’ for signature ‘"VisiumV1"’ #5128
Comments
I also have this issue - any luck with solving it? SpatialFeaturePlot(S3A, features = c("TOP2A")) |
I came across a similar error when running
|
Hi all, I am one of the developers of I tried to reproduce this just now on one of the Seurat examples, and did not get the error. Maybe it is related to an older version of Thanks! |
unistalling SpatialExperiment and reinstalling Seurat worked for me! |
I too am having this error. Uninstalling I have attached my session info for reference. |
Hi all, just following up since this issue came up again in discussions today. I have tried to reproduce the error using the Seurat spatial vignettes, but those examples all seem to work fine for me. Does anyone have an example / some code where this error occurs? This would be very helpful for tracking it down, and I would definitely like to help figure it out if this is still causing problems for people. (I had previously assumed it was related to older versions of Seurat / SpatialExperiment only, but it seems this may not be the case.) |
This is still an issue for me, on R 4.1.2, Seurat 4.1.0, and SpatialExperiment 1.4.0. If SpatialExperiment is loaded, I get the same error as everyone above. Following the vignette at https://satijalab.org/seurat/articles/spatial_vignette.html, I get this error:
And here is my session info (with SpatialExperiment loaded) And here is the traceback:
|
Ok thanks. After looking through the Seurat and SpatialExperiment code some more now, I think this is related to the fact that both Seurat and SpatialExperiment have a class called Not sure what the best solution is yet, but will think about it some more. Thanks for raising it. |
Yes, I think this is due to both packages having a class called So R is probably choosing which class to use depending on which order the two packages are loaded with We will discuss this some more to try to find a solution. Thanks all for your comments. |
For completeness @lmweber, I could reproduce the error as follows:
We will push a fix on the |
This has now been addressed in the latest update to the The update is available in Additional details in the Thanks all for your feedback! Glad we were able to figure this out. |
Quick follow-up to say that |
Thanks for using Seurat! It appears that this issue has gone stale. In an effort to keep our Issues board from getting more unruly than it already is, we’re going to begin closing out issues that haven’t had any activity since the release of v4.4.0. If this issue is still relevant we strongly encourage you to reopen or repost it, especially if you didn’t initially receive a response from us. |
Hi,
I am working with ST data from https://www.10xgenomics.com/resources/datasets/human-cerebellum-targeted-neuroscience-panel-1-standard-1-2-0 .
When I run SpatialFeaturePlot() , I get the following error:
Error in (function (classes, fdef, mtable) :
unable to find an inherited method for function ‘imgRaster’ for signature ‘"VisiumV1"’
Also when I try out the data given in the vignette,
InstallData("stxBrain")
trying URL 'http://seurat.nygenome.org/src/contrib/stxBrain.SeuratData_0.1.1.tar.gz'
Content type 'application/octet-stream' length 110346050 bytes (105.2 MB)
downloaded 1.5 MB
Error in download.file(url, destfile, method, mode = "wb", ...) :
download from 'http://seurat.nygenome.org/src/contrib/stxBrain.SeuratData_0.1.1.tar.gz' failed
In addition: There were 38 warnings (use warnings() to see them)
Warning in download.packages(pkgs, destdir = tmpd, available = available, :
download of package ‘stxBrain.SeuratData’ failed
Error in loadNamespace(name) :
there is no package called ‘stxBrain.SeuratData’
Help with any of the above issues would be great for me to start with ST data analysis.
Thanks,
Prakrithi
The text was updated successfully, but these errors were encountered: