check_sex: Infer the sex of sample donor

View source: R/check_sex.R

check_sexR Documentation

Infer the sex of sample donor

Description

Return the normalized average total intensities of probes targeting the X and Y chromosomes.

Usage

check_sex(raw)

predict_sex(X, Y, male, female)

Arguments

raw

Output of calling read_idats

X, Y

Forwarded from check_sex

male, female

Indices of male and female samples

Value

check_sex returns the normalized average total intensities of probes targeting the X and Y chromosomes. These are forwarded to predict_sex which returns a factor with levels "f","m" (and NA if the sex cannot be determined conclusively).


hhhh5/ewastools_releases documentation built on Feb. 7, 2024, 2:57 a.m.