exportResults {MEAL} | R Documentation

## Exports results data.frames to csv files.

### Description

Exports results to csv files. If more than one variable is present, subfolders with the name of the variable are created. For each variable, four files will be generated: probeResults.csv, dmrCateResults.csv, bumphunterResults.csv and blockFinderResults.csv

### Usage

    exportResults(object, dir = "./", prefix = NULL, fNames = c("chromosome",
      "start"))

### Arguments

`object` | `ResultSet`
`dir` | Character with the path to export.
`prefix` | Character with a prefix to be added to all file names.
`fNames` | Names of the columns of `object` fData that will be added to the results data.frame.

### Value

Files are saved into the given folder.

### Examples

    if (require(minfiData)){
    set <- ratioConvert(mapToGenome(MsetEx[1:10,]))
    methyOneVar <- runPipeline(set, variable_names = "sex")
    exportResults(methyOneVar)
    }

[Package MEAL version 1.10.1 Index]