doImport | R Documentation |
Performs input for the given DNA methylation and genotyping data.
doImport(
data.location,
s.anno = NULL,
assembly.meth = "hg19",
assembly.geno = "hg19",
tab.sep = ",",
s.id.col = "sample_id",
out.folder = tempdir(),
...
)
data.location |
Named character vector specifying the data location. The names correspond to:
|
s.anno |
Path to the sample annotation sheet. If |
assembly.meth |
Assembly used for the DNA methylation data. Typically is |
assembly.geno |
Assembly used for the genotyping data. If it is not the same as |
tab.sep |
The table separator used for the sample annotation sheet. |
s.id.col |
The column name of the sample annotation sheet that specifies the sample identifier. |
out.folder |
The output directory to store diagnostic plots |
... |
Futher parameters passed to e.g. |
Import of DNA methylation and genotyping data is done separately:
DNA methylation data is imported using the RnBeads
package. We
use a default option setting commonly used for DNA methylation data obtained from the Illumina BeadArray
series. If you want to specify further options, we refer to the rnb.options
.
Genotyping data is processed using PLINK. We focus on genotyping data generated
with the Illumina BeadArray series and use default options. For further option settings, you should consult
the qtlSetOption
documentation.
You can specify the import type using qtlSetOption
through the options
meth.data.type
and geno.data.type
.
This function internally uses doMethImport
and doGenoImport
An object of type MethQTLInput-class
with the methylation and genotyping information added.
Michael Scherer
meth.qtl.in <- loadMethQTLInput(system.file("extdata","reduced_methQTL",package="MAGAR"))
meth.qtl.in
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.