rmPosReps | R Documentation |
Given a beta-value or M-value matrix with EPICv2 probe IDs as rownames, returns a truncated matrix with a 1-to-1 mapping of probe ID to CpG locus. Values returned depend on the filtering strategy selected. Replicate probes are averaged by default, but the user may optionally select individual probes per replicate group based on maximum sensitivity to methylation change or maximum precision, as per empirical cross-platform consensus testing against EPICv1 and WGBS data (Peters et al. 2024).
rmPosReps(object, filter.strategy= c("mean", "sensitivity",
"precision","random"))
object |
A matrix of beta- or M-values, with unique EPICv2 Illumina probe IDs as rownames. |
filter.strategy |
Strategy for filtering probe replicates that map to the same CpG site.
|
A truncated matrix with a 1-to-1 mapping of probe to CpG site. If the group mean is taken, the first probe in the group by alphabetical sorting is returned as the rowname.
Tim J. Peters <t.peters@garvan.org.au>
Peters, T.J., Meyer, B., Ryan, L., Achinger-Kawecka, J., Song, J., Campbell, E.M., Qu, W., Nair, S., Loi-Luu, P., Stricker, P., Lim, E., Stirzaker, C., Clark, S.J. and Pidsley, R. (2024). Characterisation and reproducibility of the HumanMethylationEPIC v2.0 BeadChip for DNA methylation profiling. BMC Genomics 25, 251. doi:10.1186/s12864-024-10027-5.
library(ExperimentHub)
eh <- ExperimentHub()
ALLbetas <- eh[["EH9451"]]
ALLbetas <- ALLbetas[1:1000,]
ALLMs <- minfi::logit2(ALLbetas)
ALLMs.repmean <- rmPosReps(ALLMs, filter.strategy="mean")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.