This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Loading VisiumHD dataset

Hi all,

I am trying to load the output of Spaceranger for some VisiumHD datasets I have, but I am encountering an error with the Load10X_Spatial function from Seurat. I would appreciate your help in solving this issue. I have triple checked all the paths and I can't figure out the problem:

sobj <- Load10X_Spatial(
data.dir = localdir,
filename = "filtered_feature_bc_matrix.h5",
bin.size = 8)

Error in png::readPNG(source = file.path(image.dir, image.name)) : 
  file is not in PNG format

Thank you!

spatial transcriptomics seurat visiumhd

Hi! I found that GitHub post but the spaceranger output is present in PNG format, so I am not sure why the error is occurring, maybe because it is a symlink... In this case I am not sure what to do

That is exactly what the issue is stating

I fixed the error by copying the full png file to the expected locations

0 answers

No answers yet.

Log in to answer this question.