rnb.execute.sex.prediction: rnb.execute.sex.prediction

Description Usage Arguments Value Author(s) Examples

View source: R/sex.R

Description

Infers the sex of every sample in the given dataset, based on average signal intensity values on the autosomes and the sex chromosomes.

Usage

1

Arguments

rnb.set

Methylation dataset as an object of type RnBeadRawSet.

Value

The possibly modified dataset. If sex could be predicted, the sample annotation table is enriched with two more columns - "Predicted Male Probability" and "Predicted Sex".

Author(s)

Yassen Assenov

Examples

1
2
3
4
library(RnBeads.hg19)
data(small.example.object)
rnb.set.example <- rnb.execute.sex.prediction(rnb.set.example)
table(rnb.set.example[, "Predicted Sex"])

RnBeads documentation built on March 3, 2021, 2 a.m.