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

mambo R function bayesian variable error #1

Closed
kpitz opened this issue Mar 27, 2024 · 3 comments
Closed

mambo R function bayesian variable error #1

kpitz opened this issue Mar 27, 2024 · 3 comments

Comments

@kpitz
Copy link
Collaborator

kpitz commented Mar 27, 2024

The mambo function (https://github.com/nvpatin/MAMBO/blob/main/mambo/R/mambo.R) now throws an error due to at line 98, calling 'if(bayesian) {'. We can either incorporate the variable bayesian =1 as default or remove that if statement.

@EricArcher
Copy link
Collaborator

I've just added the 'bayesian' argument to mambo() along with a few code fixes to make it work properly. I haven't edited the downstream functions to so that they gracefully handle mambo() results that don't have bayesian results.
Test the new function and let me know if needs any fixes.

@kpitz
Copy link
Collaborator Author

kpitz commented Mar 28, 2024

Thanks @EricArcher, that worked! I can run mambo() now without any errors, and use the functions switchSummary, outlierLoadings, and plotPCs to interrogate the output. All within the docker container.

@kpitz kpitz closed this as completed Mar 28, 2024
@EricArcher
Copy link
Collaborator

EricArcher commented Mar 28, 2024 via email

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