Skip to content
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 message "subscript out of bounds" in create_domino function #22

Open
LLi-jie opened this issue Jun 1, 2023 · 0 comments
Open

Comments

@LLi-jie
Copy link

LLi-jie commented Jun 1, 2023

Hi, I am using the create_domino function with the following parameters: signaling_db, features, counts, z_scores, clusters, and df. When I run the function, I encountered the following error message:

"Error in dom@features[feat, cells] : subscript out of bounds"

I am not sure what this error message means and how to fix it. Can anyone help me understand what went wrong and how to resolve this issue? Here is the code snippet I used:

KF_dom = create_domino(signaling_db = '~/domino/SCENIC/cpdb/', features = auc, counts = counts, z_scores = z_scores, clusters = clusters, df = 'KF_regulons.csv')

I suspect that the error may be caused by the cell sample names in my Seurat object, which contain "_". This may have caused the create_domino function to fail to read the data properly. However, I am not sure how to verify this hypothesis or what other possible causes may exist. I would greatly appreciate any suggestions or help on this issue.
Any help or suggestions would be greatly appreciated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant