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: The subscript for category ' closure ' is wrong #4

Closed
ChengYunazhi opened this issue Mar 26, 2018 · 3 comments
Closed

Error: The subscript for category ' closure ' is wrong #4

ChengYunazhi opened this issue Mar 26, 2018 · 3 comments

Comments

@ChengYunazhi
Copy link

Hi, Ben

when I call function "getSigRegions" to get the QTL snps, error was reported by R, as below:

Error: The subscript for category ' closure ' is wrong


I check source code of this function,found this:

qq 20180326113724

'table' is a function in R, is this the source of error?

Thanks!

@bmansfeld
Copy link
Owner

Hey,
Thanks for the feedback.
I renamed the variable in all the export functions.
I should not be using conserved function names.

Let me know if it fixes the error or something else is causing it.
Those functions run for me.
I'll leave the issue open until you tell me it works for your data.
Thanks.
Ben

@ChengYunazhi
Copy link
Author

Thanks, Ben.

I found the reason is dplyr packages running on my machine needs to update, when updating the packages to latest version, thoses functions work well, and output what we want.

@bmansfeld
Copy link
Owner

Great. Thanks for letting me know. I updated the functions to not use table in any case.
Good luck with your research!
-Ben

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

2 participants