Skip to content

Issue with image path using readXenium() #84

@NJNataren

Description

@NJNataren

Hi guys,

Thanks for your essential package!
I am trying to read in some very recent Xenium data using readXenium(), but am getting the following error:

`sfe <- readXenium(s1, add_molecules = TRUE) #s1 is just the path to my data

Error in .get_imgData(img_fn[1], sample_id = sample_id, image_id = "morphology_focus", :
img is not a valid file path.`

Below is the traceback():

traceback()
6: stop("img is not a valid file path.") at image.R#900
5: .get_imgData(img_fn[1], sample_id = sample_id, image_id = "morphology_focus",
flip = (flip == "image")) at read.R#1118
4: .get_xenium_images(data_dir, image, major_version, flip, max_flip,
sample_id) at read.R#1213
3: force(value) at operator.R#127
2: c(img_df, flip) %<-% .get_xenium_images(data_dir, image, major_version,
flip, max_flip, sample_id) at read.R#1213
1: readXenium(s1, add_molecules = TRUE)

How would one get around this?

Would this be related to the latest XOA v4 as this user suggested?

Thanks in advance.

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