rnb.execute.sex.prediction {RnBeads}R Documentation

rnb.execute.sex.prediction

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

rnb.execute.sex.prediction(rnb.set)

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


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


[Package RnBeads version 2.10.0 Index]