predSex {ENmix} | R Documentation

## Estimating sample sex

### 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

    if (require(minfiData)) {
    path <- file.path(find.package("minfiData"),"extdata")
    rgSet <- readidat(path = path,recursive = TRUE)
    sex=predSex(rgSet)
    }

[Package ENmix version 1.26.10 Index]