inferSex {sesame} | R Documentation

## Infer Sex

### Description

Infer Sex

### Usage

    inferSex(x, pfm = NULL)

### Arguments

`x` | either a raw `SigDF` or a beta value vector named by probe ID SigDF is preferred over beta values.
`pfm` | platform Only MM285, EPIC and HM450 are supported.

### Value

'F' or 'M' We established our sex calling based on the CpGs hypermethylated in inactive X (XiH), CpGs hypomethylated in inactive X (XiL) and signal intensity ratio of Y-chromosome over autosomes. Currently human inference uses a random forest and mouse inference uses a support vector machine.

The function checks the sample quality. If the sample is of poor quality the inference return NA.

Note many factors such as Dnmt genotype, XXY male (Klinefelter's), 45,X female (Turner's) can confuse the model sometimes. This function works on a single sample.

### Examples

    sesameDataCache("EPIC") # if not done yet
    sdf = sesameDataGet('EPIC.1.SigDF')
    inferSex(sdf)

[Package sesame version 1.12.9 Index]