rnb.execute.gender.prediction {RnBeads} | R Documentation |
Infers the gender of every sample in the given dataset, based on average signal intensity values on the autosomes and the sex chromosomes.
rnb.execute.gender.prediction(rnb.set)
rnb.set |
Methylation dataset as an object of type |
The possibly modified dataset. If gender could be predicted, the sample annotation table is enriched with
two more columns - "Predicted Male Probability"
and "Predicted Gender"
.
Yassen Assenov
library(RnBeads.hg19) data(small.example.object) rnb.set.example <- rnb.execute.gender.prediction(rnb.set.example) table(rnb.set.example[, "Predicted Gender"])