View source: R/epi_preprocess.R
epi_preprocess | R Documentation |
The epi_preprocess
function reads
Illumina methylation sample
sheet for case samples and it merges them with
RGChannelSet reference panel.
The final dataset is normalized using minfi package preprocess methods.
epi_preprocess(
cases_dir,
reference_panel,
pattern = "csv$",
normalize = "raw",
norm_param = norm_parameters(),
verbose = FALSE
)
cases_dir |
the base directory from which the search is started. |
reference_panel |
an RGChannelSet object containing the reference panel (controls) samples. |
pattern |
What pattern is used to identify a sample sheet file. |
normalize |
a character string
specifying the selected preprocess method.
For more information see Details or
minfi package user's Guide.
It can be set as: |
norm_param |
the parameters for each preprocessing method. See the function norm_parameters. |
verbose |
logical. If TRUE additional details about the procedure will provide to the user. The default is FALSE. |
The epi_preprocess
function reads Illumina methylation sample
sheet for case samples and it merges them with
RGChannelSet reference panel.
The final dataset is normalized using
different minfi package preprocess methods:
"raw"
: preprocessRaw
"illumina"
: preprocessIllumina
"swan"
: preprocessSWAN
"quantile"
: preprocessQuantile
"noob"
: preprocessNoob
"funnorm"
: preprocessFunnorm
epi_preprocess
function returns a
GenomicRatioSet object
containing case and control (reference panel) samples.
# The reference panel for this example is available in
#epimutacionsData (ExperimentHub) package
library(ExperimentHub)
eh <- ExperimentHub()
query(eh, c("epimutacionsData"))
reference_panel <- eh[["EH6691"]]
cases_dir <- system.file("extdata", package = "epimutacionsData")
#Preprocessing
epi_preprocess( cases_dir,
reference_panel,
pattern = "SampleSheet.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.