Exporting ExpressionSet instance into 3 tabulated files.

Share:

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

1
2
3
4
5
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

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.