Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

toW4M

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)

ropls

PCA, PLS(-DA) and OPLS(-DA) for multivariate analysis and feature selection of omics data

v1.22.0
CeCILL
Authors
Etienne A. Thevenot <etienne.thevenot@cea.fr>
Initial release
2020-03-05

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.