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

Music2 bug in "music2_prop_t_statistics" function #121

Open
ste-depo opened this issue Aug 8, 2023 · 2 comments
Open

Music2 bug in "music2_prop_t_statistics" function #121

ste-depo opened this issue Aug 8, 2023 · 2 comments

Comments

@ste-depo
Copy link

ste-depo commented Aug 8, 2023

Error:

Error in (function (classes, fdef, mtable)  : 
  unable to find an inherited method for function ‘exprs’ for signature ‘"matrix"’

Raised from:
https://github.com/xuranw/MuSiC/blame/0a3e3af45d4bd018939013660a3e83e580fa3bac/R/music2.R#L340

The actual code tries to extract expression from "bulk.case" pretending it is an object of ExpressionSet class, while it's already a matrix.

Removing exprs() fixes the bug

@marounbs
Copy link

Yes. Reached the same conclusion, and lost a couple of hours. Too bad I didn't see your post first.

@alexandriatran
Copy link

Thanks for documenting. I just ran into this issue using MuSiC installed from tutorial instructions, so it has not yet been resolved on that branch.

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

3 participants