Skip to content

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

Description

@johnomics

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions