preprocessSWAN | R Documentation |
Subset-quantile Within Array Normalisation (SWAN) is a within array normalisation method for the Illumina Infinium HumanMethylation450 platform. It allows Infinium I and II type probes on a single array to be normalized together.
preprocessSWAN(rgSet, mSet = NULL, verbose = FALSE)
rgSet |
An object of class |
mSet |
An optional object of class |
verbose |
Should the function be verbose? |
The SWAN method has two parts. First, an average quantile distribution is created using a subset of probes defined to be biologically similar based on the number of CpGs underlying the probe body. This is achieved by randomly selecting N Infinium I and II probes that have 1, 2 and 3 underlying CpGs, where N is the minimum number of probes in the 6 sets of Infinium I and II probes with 1, 2 or 3 probe body CpGs. If no probes have previously been filtered out e.g. sex chromosome probes, etc. N=11,303. This results in a pool of 3N Infinium I and 3N Infinium II probes. The subset for each probe type is then sorted by increasing intensity. The value of each of the 3N pairs of observations is subsequently assigned to be the mean intensity of the two probe types for that row or “quantile”. This is the standard quantile procedure. The intensities of the remaining probes are then separately adjusted for each probe type using linear interpolation between the subset probes.
an object of class MethylSet
SWAN uses a random subset of probes to do the between array
normalization. In order to achive reproducible results, the seed
needs to be set using set.seed
.
Jovana Maksimovicjovana.maksimovic@mcri.edu.au
J Maksimovic, L Gordon and A Oshlack (2012). SWAN: Subset quantile Within-Array Normalization for Illumina Infinium HumanMethylation450 BeadChips. Genome Biology 13, R44.
RGChannelSet
and
MethylSet
as well as
IlluminaMethylationManifest
.
if (require(minfiData)) {
## RGsetEx.sub is a small subset of RGsetEx;
## only used for computational speed.
MsetEx.sub.swan <- preprocessSWAN(RGsetEx.sub)
}
## Not run:
if (require(minfiData)) {
dat <- preprocessRaw(RGsetEx)
preprocessMethod(dat)
datSwan <- preprocessSWAN(RGsetEx, mSet = dat)
datIlmn <- preprocessIllumina(RGsetEx)
preprocessMethod(datIlmn)
datIlmnSwan <- preprocessSWAN(RGsetEx, mSet = datIlmn)
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.