metrics | R Documentation |
Calculate X-chromosome, SNP and imprinting DMR metrics for a matrix of betas from an Illumina 450K Human DNA methylation array. Requires precalculated t-test p-values for sex differences, a list of X-chromosome features and of imprinting DMR features.
metrics(betas, pv, X, idmr = iDMR, subset = NULL)
betas |
a matrix of betas, each row representing a probe, each column a sample |
pv |
a vector of p-values such as produced by |
X |
a logical vector of the same length as |
idmr |
a character vector of probe names known to be in imprinting DMRs. Can be obtained with |
subset |
index or character vector giving a subset of betas to be tested |
dmrse_row |
see |
dmrse_col |
see |
dmrse |
see |
gcoms_a |
see |
gcose_a |
see |
gcoms_b |
see |
gcose_b |
see |
gcoms_c |
see |
gcose_c |
see |
seabird |
see |
Leonard.Schalkwyk@kcl.ac.uk
Pidsley R, Wong CCY, Volta M, Lunnon K, Mill J, Schalkwyk LC: A data-driven approach to preprocessing Illumina 450K methylation array data (submitted)
data(melon)
melon.dasen <- dasen(melon)
bn <-betas(melon.dasen)
X <- melon.dasen@featureData@data$CHR=='X'
data(iDMR)
sex <- pData(melon.dasen)$sex
pv <- sextest(bn,sex)
melon.metrics <- metrics(bn, pv, X, idmr = iDMR, subset = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.