fixMethOutliers(object, K = -3, verbose = FALSE)
[Genomic]MethylSet
.object
where outlier values in
the methylation channels have been thresholded.
Unlike other types of arrays, all loci on a methylation array ought to measure something (apart from loci on the Y chromosome in a female sample). An outlier is a loci with a very low value in one of the two methylation channels. Typically, relatively few loci ought to be outliers.
An outlier is defined in a sample and methylation channel specific
way. First the (sample, methylation channel) values are
log2(x+0.5)
transformed and then the median and mad of these
values are computed. An outlier is then defined to be any value less
than the median plus K
times the mad, and these outlier values
are thresholded at the cutoff (on the original scale).
minfiQC
if(require(minfiData)) {
MsetEx <- fixMethOutliers(MsetEx)
}
Run the code above in your browser using DataLab