toW4M {ropls} | R Documentation

## Exporting ExpressionSet instance into 3 tabulated files.

### Description

The 3 .tsv files are written with the indicated `file` prefix, and '_dataMatrix.tsv', '_sampleMetadata.tsv', and '_variableMetadata.tsv' suffices, respectively. Note that the `dataMatrix` is transposed before export (e.g., the samples are written column wise in the 'dataMatrix.tsv' exported file).

### Usage

    toW4M(eset, ...)

    ## S4 method for signature 'ExpressionSet'
    toW4M(eset, filePrefixC = paste0(getwd(), "/out_"),
      verboseL = TRUE, ...)

### Arguments

`eset` | An S4 object of class `ExpressionSet` function.
`...` | Currently not used.
`filePrefixC` | Character: common prefix (including repository full path) of the three file names: for example, the 'c:/mydata/setname' value will result in writting the 'c:/mydata/setname_dataMatrix.tsv', 'c:/mydata/setname_sampleMetadata.tsv', and 'c:/mydata/setname_variableMetadata.tsv' files.
`verboseL` | Logical: should comments be printed?

### Value

No object returned.

### Author(s)

Etienne Thevenot, etienne.thevenot@cea.fr

### Examples

     sacSet <- fromW4M(file.path(path.package("ropls"), "extdata"))
     toW4M(sacSet)

[Package ropls version 1.12.0 Index]