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

predictSex no longer works as wateRmelon predictSex has been replaced by estimateSex #14

Open
johnomics opened this issue Apr 6, 2022 · 2 comments

Comments

@johnomics
Copy link

bigmelon's predictSex function relies on wateRmelon's predictSex (see gdsnclass_methods.R L1109), but wateRmelon's predictSex function was replaced by estimateSex (schalkwyk/wateRmelon@d82639d) so bigmelon's function no longer works.

A workaround is to use wateRmelon's estimateSex on the betas directly:

library(bigmelon)
gfile <- openfn.gds("dataset.gds")
estimated_sexes <- estimateSex(betas(gfile)[,])
closefn.gds(gfile)
@TJGorrie
Copy link
Owner

Sorry for the huge delay - life got in the way. Thank you for opening the issue up. Will get on it.

@johnomics
Copy link
Author

No problem, I know how it goes, and this was easy to work around. Thanks for looking into this. Bigmelon is a great package, thanks for developing it.

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