predSex | R Documentation |
Estimating sample sex based on methylation data
predSex(mdat, cutoff = 2)
mdat |
An object of class |
cutoff |
The difference in log2 total intensity between X and Y chromosomes |
Estimation of sex is based on the difference of log2 median total intensity measures on the X and Y chromosomes.
Zongli Xu
if (require(minfiData)) {
path <- file.path(find.package("minfiData"),"extdata")
rgSet <- readidat(path = path,recursive = TRUE)
sex=predSex(rgSet)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.