You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to create a Crop, I got the following error:
vizgen.crop <- Crop(vizgen.obj[['fov']],x=c(1250,3750),y=c(8000,9000),coords='plot')
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'y' in selecting a method for function 'Overlay': cannot derive coordinates from non-numeric matrix
Calls: Crop ... stopifnot -> Polygon -> coordinates -> coordinates -> .local
My ImageDimPlot looks like this:
I've tried to swap the x and y coordinates, and tried other ranges like x=c(8000,9000),y=c(8000,9000) or x=c(1000,2000),y=c(1000,2000). But I still got the same error.
I've installed the latest patch in #7190 and my sessionInfo() is:
were those red star shapes added on purpose?
Note that Crop function is from SeuratObject package.
Does it work if you use coords = "tissue" with x=c(8000, 9000), y=c(8000, 9000) ?
My fault...
I forgot to set the options options(Seurat.object.assay.version = "v5"). Setting the options will cause another error: GetAssay(vizgen.obj,assay='Vizgen') will not work. I'll close this issue and open a new issue.
I am following the tutorial on Vizgen data analysis.
When I tried to create a
Crop
, I got the following error:My ImageDimPlot looks like this:
I've tried to swap the
x
andy
coordinates, and tried other ranges likex=c(8000,9000),y=c(8000,9000)
orx=c(1000,2000),y=c(1000,2000)
. But I still got the same error.I've installed the latest patch in #7190 and my
sessionInfo()
is:The text was updated successfully, but these errors were encountered: