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
Thanks for reporting this! It looks like one of the keys in st.colon1 is unexpectedly missing. The fix for this required an update to SeuratObject which Seurat depends on. You can install the fix using devtools::install_github("mojaveazure/seurat-object", "develop") and then run st.colon1 <- UpdateSeuratObject(st.colon1). After that, SpatialPlot should work. Alternatively, if you prefer not to install SeuratObject while it's still in development you can manually add the missing key to the object like this: slot(slot(st.colon1, "assays")$RNA, "key") <- "rna_"
Recently, I got a new error when I was using the 'SpatialPlot' function.
However, the same code worked fine a few days ago.
Error in vapply(X = keyed.objects, FUN = function(x) { :
values must be length 1,
but FUN(X[[2]]) result is length 0
The text was updated successfully, but these errors were encountered: