-
Notifications
You must be signed in to change notification settings - Fork 21
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 in (function (..., deparse.level = 1) while using GSVA #139
Comments
Below is my sesssionInfo: R version 4.3.3 (2024-02-29) Matrix products: default locale: time zone: Asia/Taipei attached base packages: other attached packages: loaded via a namespace (and not attached): |
#139 Fixed how data is split and handled during escape calculation
Thanks for bringing this to my attention and linking the previous issue as well. I found a potential issue with how the splitting by group parameter may alter the final I have commited a fix to the dev branch and it is currently being tested for merging with the main branch - this version will be 2.2.3. However, it is important to note, I could not replicate the issue - so please if you are willing, once the new main versions is update (in the next 1 HR), could you check if this solves your issue and report back? Thanks, |
Hi Nick, Thank you very much for your quick response! After using all cells at once, the error did not appear, so I think you are correct about the potential issue with the "group" parameter. I will test the latest version with my original parameters. However, it may take some time, as my previous run took about 14 hours. I'm not sure if this is normal, but my gene set is quite large, containing 14,357 elements. I will update you on the results after rerunning with the new version, possibly by tomorrow. Thanks again! Best, |
Hi Nick, Using the latest version of escape (2.2.3), seurat_combined <- runEscape( finished perfectly without any error messages. Best, |
Thanks so much for the follow up and glad things are working!! |
Hi! Thank you for developing this great tool!
I am currently encountering an error while running the runEscape function with my Seurat object using the "GSVA" method and a personal gene set.
The code I used:
seurat_combined <- runEscape( seurat_combined, gene.sets = filtered_gene_sets, method = "GSVA", groups = 5000, min.size = 5, new.assay.name = "escape.GSVA" )
The error messages:
! 4177 genes with constant values throughout the samples
! Genes with constant values are discarded
! 12693 genes with constant non-zero values throughout the samples
! Genes with constant non-zero values are discarded
! Some gene sets have size one. Consider setting minSize > 1
! 6398 genes with constant values throughout the samples
! Genes with constant values are discarded
! 14765 genes with constant non-zero values throughout the samples
! Genes with constant non-zero values are discarded
! Some gene sets have size one. Consider setting minSize > 1
Error in (function (..., deparse.level = 1) :
number of rows of matrices must match (see arg 2)
I found a similar issue related to a different method ("AUCell"), which had been resolved.
Currently, I am trying to rerun by using all the cells at once.
Do you have any insights into the possible cause of this error and how I might resolve it?
Thank you very much!
Sincerely,
Chih-Ying
The text was updated successfully, but these errors were encountered: