Skip to content

no slot of name "ptr" for this object of class "SpatRaster" #50

@Elena983

Description

@Elena983

Hi, I am reproducing the visium example

sfe <- McKellarMuscleData("full")

if (!file.exists("tissue_lowres_5a.jpeg")) {
download.file("https://raw.githubusercontent.com/pachterlab/voyager/main/vignettes/tissue_lowres_5a.jpeg",
destfile = "tissue_lowres_5a.jpeg")
}

sfe <- addImg(sfe,
imageSource = "/Users/elena/Desktop/spatial_course/geospatial/tissue_lowres_5a.jpeg",
sample_id = "Vis5A",
image_id = "lowres",
scale_fct = 1024/22208)

this got me the error

Error in methods::slot(value, what) :
no slot of name "ptr" for this object of class "SpatRaster"

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions