read.metharray | R Documentation |
Parsing IDAT files from Illumina methylation arrays.
read.metharray(basenames, extended = FALSE, verbose = FALSE, force = FALSE)
basenames |
The basenames or filenames of the IDAT files. By
basenames we mean the filename without the ending |
extended |
Should a |
verbose |
Should the function be verbose? |
force |
Should reading different size IDAT files be forced? See Details. |
The type of methylation array is guess by looking at the number of probes in the IDAT files.
We have seen IDAT files from the same array, but with different number
of probes in the wild. Specifically this is the case for early access
EPIC arrays which have fewer probes than final release EPIC arrays.
It is possible to combine IDAT files from the same inferred array, but
with different number of probes, into the same RGChannelSet
by
setting force=TRUE
. The output object will have the same
number of probes as the smallest array being parsed; effectively
removing probes which could have been analyzed.
An object of class RGChannelSet
or
RGChannelSetExtended
.
Kasper Daniel Hansenkhansen@jhsph.edu.
read.metharray.exp
for a convenience function for
reading an experiment, read.metharray.sheet
for
reading a sample sheet and RGChannelSet
for the
output class.
if(require(minfiData)) {
baseDir <- system.file("extdata", package = "minfiData")
RGset1 <- read.metharray(file.path(baseDir, "5723646052", "5723646052_R02C02"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.