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

a bug in R.4.2 #14

Open
lzygenomics opened this issue Mar 16, 2023 · 0 comments
Open

a bug in R.4.2 #14

lzygenomics opened this issue Mar 16, 2023 · 0 comments

Comments

@lzygenomics
Copy link

Hi~

I found that the newest version M3Drop based on >=R.4.2, will return error " the condition has length > 1" . I check the source code, the bug is in the function of "bg__calc_variables":
if (class(expr_mat) != "matrix" & class(expr_mat) != "dgCMatrix" & class(expr_mat) != "Matrix") { warning("Warning: not a recognized matrix class, coercing to 'matrix'.") expr_mat <- as.matrix(expr_mat) }
Maybe you could fix it by rewrite this condition~

Best

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