rnb.export.to.ewasher {RnBeads} | R Documentation

## 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

### Author(s)

Fabian Mueller

### Examples

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

[Package RnBeads version 1.12.1 Index]