-
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
Error using reader functio to import VisiumHD data #1084
Comments
Hi @jade-minzlaff, Apologies for the inconvenience. I will update the vignette as the data_path argument has been replaced by visiumHD_dir. Please use readerHD$visiumHD_dir instead. To create a Giotto object, you can use the following code:
|
Hi Iqra Amin, Thank you for your reply, but unfortunately when I use the code chunk you sent, I receive the error: "Error: attempt to apply non-function" When I add in the other arguments in the Giotto tutorial to what you sent above, I get a similar error message: For the code: createGiottoVisiumHDObject( I get the error: "Error in createGiottoVisiumHDObject(visiumHD <- readerHD$create_gobject(visiumHD_dir = data_path, : |
Hi @jade-minzlaff,
To use visium HD reader function, use the following.
You can use any of the above approaches. Let me know if they work or if you still encounter any issues. |
Hi @iqraAmin, Thank you again for responding. Unfortunately, both of those options still result in errors for me. Using the createGiottoVisiumHDObject: provide path to visium folderdata_path <- "C:/Users/jadem/OneDrive/Desktop/Batch1_Reanalysis_112524/analysis/spaceranger/FN691/H1-34J9CJZ_A1_FN691_mGEXv2HD/outs/binned_outputs/square_008um" Error: The path I am giving it to the Visium outout folder which contains filtered_feature_bc_matrix.h5 and raw_feature_bc_matrix.h5 files, despite this error message. Using the visium HD reader function: visiumHD_dir <- "C:/Users/jadem/OneDrive/Desktop/Batch1_Reanalysis_112524/analysis/spaceranger/FN691/H1-34J9CJZ_A1_FN691_mGEXv2HD/outs/binned_outputs/square_008um" Error: Do you have any further suggestions? Thank you again for your responsiveness. |
Describe the Error
Hi, I am attempting to follow the workflow demonstrated for VisiumHD analysis in Giotto here: https://drieslab.github.io/Giotto_website/articles/VisiumHD_Human_Colorectal_Cancer.html
To analyze my VisiumHD data with Giotto.
However, despite using the correct Visium HD output folder specified, I get an error when I try to import the Visium HD data. My code:
provide path to visium folder
data_path <- "C:/Users/jadem/OneDrive/Desktop/Batch1_Reanalysis_112524/analysis/spaceranger/FN691/H1-34J9CJZ_A1_FN691_mGEXv2HD/outs/binned_outputs/square_008um"
readerHD <- importVisiumHD()
readerHD$data_path <- data_path
...
Error Message
# Your error message here
To Reproduce
Steps to reproduce the behavior, i.e.:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
NOTE: Screenshots of the attempted function call and full error message(s) are helpful for troubleshooting!
System Information
Please replace the following according to your machine:
platform x86_64-w64-mingw32
arch x86_64
os mingw32
crt ucrt
system x86_64, mingw32
status
major 4
minor 4.2
year 2024
month 10
day 31
svn rev 87279
language R
version.string R version 4.4.2 (2024-10-31 ucrt)
nickname Pile of Leaves
[1] ‘4.1.6’
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: