tofList {WMBrukerParser} | R Documentation |
A list of time-of-flight mass spectrum vectors addressable by spectrumName.
Spectrum vectors can also be addressed by spectrum index. This option should be used with caution since data and meta-data can be reordered independently during subsequent signal processing or statistical analysis.
In the event that default assignments were used for spectrumNames (due to missing sampleInfo.sampleNames meta-data) they can be updated.
WMBrukerParser
, BrukerParser
,
ParserParams
, ParseAndSave
,
tofListMetaData
## To access a spectrum vector: data(tofListRun2) spectrum <- tofList[[ "Pool 8_1"]]; ## or: spectrum <- tofList[[1]]; # Use with caution! ## To update a spectrum's vector: tofList[ "Pool 8_2"] <- list(spectrum) ## To update the tofList names: newSpecNames<-list(); numSpec<-length(tofList); for (i in 1:numSpec) {newSpecNames[i]<-paste("spec",i, sep="")}; names(tofList)<-newSpecNames;