predSex: Estimating sample sex

Description Usage Arguments Details Author(s) Examples

View source: R/predSex.R

Description

Estimating sample sex based on methylation data

Usage

1
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

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

ENmix documentation built on April 2, 2021, 6 p.m.