estimateSex | R Documentation |
Predict sex by using robust sex-related CpG sites on ChrX and ChrY
estimateSex(betas, do_plot = FALSE)
betas |
A matrix with sample IDs as column names, and probe names as row names, ideally: beta = M / (M + U + 100). Take a look at an example betas with: "data(melon); print(betas(melon)[1:10, 1:3])". |
do_plot |
logical. Should plot the predicted results? Default: FALSE |
dataframe contains predicted sex information.
Wang, Yucheng, et al. "DNA methylation-based sex classifier to predict sex and identify sex chromosome aneuploidy." BMC genomics 22.1 (2021): 1-11.
data(melon)
pred_XY <- estimateSex(betas(melon), do_plot=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.