Description Usage Arguments Value Author(s) Examples
Export object to Xlsx
1 | exportSetXLSX(obj,outfile,ldata=names(obj$Data),transpose=FALSE,nround=3,characterNA=c("-","NA"))
|
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 |
Ordering of the samples and analytes
David Enot david.enot@gustaveroussy.fr
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.