predSex: Estimating sample sex

View source: R/predSex.R

predSexR 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)
}

xuz1/ENmix documentation built on Aug. 5, 2023, 7:11 a.m.