Description Usage Arguments Details Value Author(s) Examples
Estimates samples sex based on methylation data.
1 2 3 |
object |
An object of class |
cutoff |
What should the difference in log2 copynumber be between males and females. |
sex |
An optional character vector of sex (with values |
id |
Text used as plotting symbols in the |
Estimation of sex is based on the median values of measurements on the
X and Y chromosomes respectively. If yMed - xMed is
less than cutoff we predict a female, otherwise male.
For getSex, a DataFrame with columns predictedSex
(a character with values M and F), xMed and
yMed, which are the chip-wide medians of measurements on the two
sex chromosomes.
For addSex, an object of the same type as object but
with the output of getSex(object) added to the pheno data.
For plotSex, a plot of xMed vs. yMed, which are the
chip-wide medians of measurements on the two sex chromosomes, coloured by
predictedSex.
Rafael A. Irizarry, Kasper D. Hansen, Peter F. Hickey
1 2 3 4 5 | if(require(minfiData)) {
GMsetEx <- mapToGenome(MsetEx)
estSex <- getSex(GMsetEx)
GMsetEx <- addSex(GMsetEx, sex = estSex)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.