predSex {ENmix} | R Documentation

## Estimating sample sex based on methylation data

### Description

Estimating sample sex based on methylation data

### Usage

    predSex(mdat, cutoff = -2)

### Arguments

`mdat` | An object of class `MethDataSet` or `rgDataSet`.
`cutoff` | The difference in log2 total intensity between X and Y chromosomes

### Details

Estimation of sex is based on the difference of log2 median total intensity measures on the X and Y chromosomes.

### Author(s)

Zongli Xu

### Examples

    ## Not run:
    path <- file.path(find.package("minfiData"),"extdata")
    rgSet <- readidat(path = path,recursive = TRUE)
    sex=predSex(rgSet)

    ## End(Not run)

[Package ENmix version 1.23.5 Index]