theMILOlab / SPATA2

A Toolbox for Spatial Transcriptomics Analysis
https://themilolab.github.io/SPATA2/
112 stars 17 forks source link

Error in `(function (cl, name, valueClass) : 'id' is not a slot in the 'Image' class` in example dataset #104

Open 1667857557 opened 9 months ago

1667857557 commented 9 months ago

To the developers of SPATA2,

Thank you for your excellent work. We were delighted to use this tool in our study; however, we encountered an issue while using the example dataset UKF269_T_ST in spatial trajectories. We followed the workflow guidelines, but it reported an unexpected error: Error in (function (cl, name, valueClass) : 'id' is not a slot in the 'Image' class

Below is the full code we used. Could you please provide some suggestions? Thanks in advance!

wget https://uc772a29c98d8c3b4377ddef8395.dl.dropboxusercontent.com/cd/0/get/COSmqb4yN4QKSb7oBfL2AitLcyC3W7li8FGhoZbyy4MWeFZsuitIW1BkVBKnoZ2urRj1FHDTPqU1GF-36VimpLX85qA1EjeBJ-KkGhn08HmKFwRmF4u0FT2ZVniccd8HvXPSfvxDHjUjK6LPjrAJTaFp/file?dl=1#

object_t269 <- readRDS("D:/rtemp/269_T.RDS")

data("image_annotations")
object_t269 <- 
 setImageAnnotations(
    object = object_t269, 
    img_anns = image_annotations[["269_T"]],
    overwrite = TRUE
  )
**Error in (function (cl, name, valueClass) : 'id' is not a slot in the 'Image' class**
simonmfr commented 3 months ago

Hi @1667857557, apologies for the delay. We have released a major update to v3 in the meantime. Can you please re-try using the novel guidelines?