writeEset | R Documentation |
Note that the dataMatrix
is transposed before
export (e.g., the samples are written column wise in the 'dataMatrix.tsv'
exported file).
writeEset(x, dirName, overwrite = FALSE, verbose = TRUE)
## S4 method for signature 'ExpressionSet'
writeEset(x, dirName, overwrite = FALSE, verbose = TRUE)
x |
An S4 object of class |
dirName |
Character: directory where the tables should be written |
overwrite |
Logical: should existing files be overwritten? |
verbose |
Logical: should messages be printed? |
No object returned.
library(ptairData)
dirRaw <- system.file("extdata/exhaledAir", package = "ptairData")
exhaledPtrset <- createPtrSet(dir=dirRaw, setName="exhaledPtrset",
mzCalibRef = c(21.022, 60.0525), fracMaxTIC = 0.7, saveDir = NULL )
exhaledPtrset<-detectPeak(exhaledPtrset,mz=c(21,59,77))
eset <- ptairMS::alignSamples(exhaledPtrset )
writeEset(eset, dirName = file.path(getwd(), "processed_dataset"))
unlink(file.path(getwd(), "processed_dataset"),recursive = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.