-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could you please example the data folder structure? #181
Comments
It looks like you need to start from the h5 file, see details section of https://rubd.github.io/Giotto_site/reference/createGiottoVisiumObject.html. Your current command starts from a structured visium directory. |
it seems " h5_json_scalefactors_path" also required but not in the variable list. after adding this, it loads data |
Hi mimisikai The createGiottoVisiumObject will automatically read expression matrix and spatial information through the following folder structure: . visium_dir Or alternatively you can start with the h5 file by providing the following arguments: h5_visium_path: full path to .h5 file: /your/path/to/visium_file.h5 The first one should be found in the result directory of spaceranger output folder and the rest should be found in the spatial directory under it. |
@JunxiangXu thanks for providing additional info. Would it help if we separate the |
I have h5 file, json, lowers and position list files stored in the same folder: '/Users/xxx/Documents/Jia10X/V11'
however, when I load the sample by the code below, says the error File does not exist or is non-readable.
Thanks.
dataDir <- '/Users/xxx/Documents/Jia10X'
A1
A1 = createGiottoVisiumObject(
visium_dir = paste0(dataDir,'/V11'),
expr_data = 'filter',
png_name = 'tissue_lowres_image.png',
gene_column_index = 2,
instructions = instrs
)
The text was updated successfully, but these errors were encountered: