Learn R Programming

RnBeads (version 1.4.0)

rnb.export.to.ewasher: rnb.export.to.ewasher

Description

Data exported to a format compatible with the FaST-LMM-EWASher tool for cell-mixture adjustment. see Zou, J., et al., Nature Methods, 2014 for further details on the tool.

Usage

rnb.export.to.ewasher(rnb.set, out.dir, reg.type = "sites", ...)

Arguments

rnb.set
Object of class RnBSet
out.dir
output directory. If not existing, it will be created and all exported files will be placed here. If existing, this functions results in an error.
reg.type
region type to be exported
...
passed on to get.comparison.info

Value

a list containing information on the export

Examples

Run this code

library(RnBeads.hg19)
data(small.example.object)
logger.start(fname=NA)
rnb.export.to.ewasher(rnb.set.example,tempfile(pattern="forEwasher"))

Run the code above in your browser using DataLab