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

bugfix RcppML::nmf + fgsea error message #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TarikExner
Copy link

Hey guys,

regarding this issue:
dibbelab#6 (comment)

I fixed the RcppML::nmf function so that the keyword argument is not refuted by Rcpp. (Lines 194, 208, 215)

Further, RcppML::nmf returns a list, which is why I changed the code to $ accession compared to @. (following the RcppML::nmf function call)

Running runScGSEA with this prompted an error with a custom pathway list where fgsea said "stats should be named" (https://rdrr.io/bioc/fgsea/src/R/fgsea.R), which could be resolved by adding rownames that I took from the rawCounts slot.

I tested the changes with a custom set of genes in my custom dataset as well as with the hallmarks on my custom dataset, both worked fine.

Thank you very much for the package!

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

Successfully merging this pull request may close these issues.

1 participant