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)
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: