readBrukerFlexFile(fidFile, removeMetaData = FALSE, useHpc = TRUE,
filterZeroIntensities = FALSE, keepNegativeIntensities = FALSE,
verbose = FALSE)character, path to fid file which should be
read.logical, to calculate mass data a lot of meta
data are needed. To save memory they could be deleted after calculation.logical, should Bruker Daltonics' High Precision
Calibration be used if available?
(see also: .hpc)logical, don't change it.
If TRUE all intensities equal 0.0 are removed.
(see also: logical, don't change it.
If FALSE all intensities less than zero are replaced by
zero.
(see also: logical, print verbose messages?list of spectra and metadata.
spectrum$mass:spectrum$tof:spectrum$intensity:metaData:readBrukerFlexFile has to import the following data to calculating
mass from acqu file:
If High Precision Calibration (HPC) is used, readBrukerFlexFile needs:
readBrukerFlexFile tries also to import [optional]:
readBrukerFlexFile
uses $PATHNO instead)
$SPType metaData$spectrumType e.g. TOF
$TgIDS metaData$target$id target ids
$TgCount metaData$target$count number of measurements
with this target
$TgSer metaData$target$serialNumber target serial number
$TgTyp metaData$target$typeNumber target type number
$TLift metaData$tlift LIFT constant?
}
import from file path:
filterZeroIntensities: Change default value is not recommended!
If TRUE all intensities equal zero are removed.
This parameter exists only to be compatible to
Bruker Daltonics CompassXport's mzXML export function. For details see:
keepNegativeIntensities: Change default value is
not recommended! If TRUE negative intensity values are not
replaced by zero. This parameter exists only to be compatible to
Bruker Daltonics CompassXport.
importBrukerFlex,
readBrukerFlexDir,
.hpc## load library
library("readBrukerFlexData")
## get examples directory
exampleDirectory <- system.file("Examples", package="readBrukerFlexData")
## read example spectrum
spec <- readBrukerFlexFile(file.path(exampleDirectory,
"2010_05_19_Gibb_C8_A1/0_A1/1/1SLin/fid"))
## print metaData
print(spec$metaData)
## plot spectrum
plot(spec$spectrum$mass, spec$spectrum$intensity, type="l", col="red")Run the code above in your browser using DataLab