exportSetXLSX: Export object to Xlsx

Description Usage Arguments Value Author(s) Examples

Description

Export object to Xlsx

Usage

1
exportSetXLSX(obj,outfile,ldata=names(obj$Data),transpose=FALSE,nround=3,characterNA=c("-","NA"))

Arguments

obj

metaboSet

outfile

Output file

ldata

Matrices from obj$Data

transpose

Transposing obj$Data matrices

nround

Rounding numerical data

characterNA

Replacing NAs by characterNA[1] for analyte/sample infos sheets and characterNA[2] for obj$Data matrices

Value

Ordering of the samples and analytes

Author(s)

David Enot david.enot@gustaveroussy.fr

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#### best to increase the heap size before calling library(GRMeta)
options(java.parameters = "-Xmx8000m")

testfiles=list.files(system.file( package = "GRMeta"),pattern = "txt$",full.names = TRUE)

## Not run: 
mydata=loadAgilentData(ifile =testfiles[1])
myratios=compSetRatios(mydata,l2add="Area",conv2set=TRUE)

exportSetXLSX(mydata,outfile="test.xlsx",ldata=c("Area","RT"),characterNA=c("Missing","NAssss"))
exportSetXLSX(myratios,outfile="testratios.xlsx",ldata=c("Area","RT"),characterNA=c("Missing","NAssss"))

## End(Not run)

tonedivad/GRMeta documentation built on May 31, 2019, 6:21 p.m.