Learn R Programming

tofsims (version 1.0.2)

Import, process and analysis of Time-of-Flight Secondary Ion Mass Spectrometry (ToF-SIMS) imaging data

Description

This packages offers a pipeline for import, processing and analysis of ToF-SIMS 2D image data. Import of Iontof and Ulvac-Phi raw or preprocessed data is supported. For rawdata, mass calibration, peak picking and peak integration exist. General funcionality includes data binning, scaling, image subsetting and visualization. A range of multivariate tools common in the ToF-SIMS community are implemented (PCA, MCR, MAF, MNF). An interface to the bioconductor image processing package EBImage offers image segmentation functionality.

Copy Link

Version

Version

1.0.2

License

GPL-3

Maintainer

Lorenz Gerber

Last Published

February 15th, 2017

Functions in tofsims (1.0.2)

PeakList

Class PeakList
MNF

Class MNF
import

import is the C++ code for importing iontof raw data
EigenDecompose

EigenDecompose for the MNF analysis
MassImage

Class MassImage
MAF

Class MAF
nComp

generic accessor method for slot nComp
MassSpectra

Class MassSpectra
addFixedWidth

Generic method to add/update peak width
calibPointNew

Generic method calibPointNew that modifies slot calibPoints
points

generic method points generic method points
binning

binning
findClosestMatch

Find single value 'toMatch' in vector 'MatchIn'
ndim

generic accessor method for slot ndim
dim,MassSpectra-method

method definition 'dim' for 'MassSpectra' dim is a primitive
PCAnalysis

Class PCAnalysis
analysisName

analysisName, slot of MassSpectra class objects
PrinComp-class

Class PrinComp
overlayPlot

generic overlayPlot
nPeaks

generic method for nPeaks
bwApply

bwApply
zdim,MassSpectra-method

method definition 'zdim' on 'MassSpectra'
calibPoints

calibPoints, slot of MassSpectra class objects
computeMNF

compute MNF
RSS

generic accessor for RSS
parIndicesSearch

helper function for parallel processing in rawdata import routines
changePeakWidth

method changePeakWidth
noPlottingData,PCA-method

Check NULL PCA object
RSS,MCR-method

MCR accessor RSS,
PCA-class

Class PCA
import.raw

Raw data import
computeNoise

computeNoise
check.extension

Check file extension
baseObject,PrComp-method

constructor for PrComp
itzipName

defining generic accessor method for "itzipName"
ndim,MassSpectra-method

method definition 'ndim' on 'MassSpectra'
nearestNeighbourMean

nearestNeighbourMean
extract.header.data

extract variable names and values from Ulvac-phi ToF-SIMS datafile headers
baseObject,PrinComp-method

constructor for PrinComp
findPeakWidth

generic method findPeakWidth
removePeaks

generic method removePeaks
iters

generic accessor for iters slot
coordToPixel,MassImage,numeric-method

coordToPixel
itzipName<-

generic for setter itzipName
imageMatrix

generic method to obtain imageMatrix
ydim,MassImage-method

Getter, method definition "ydim" on "MassImage"
recalibrate

Generic method recalibrate
ctable

ctable is a C++ implementation to make contingency tables
manualSelectPeaks

This method is base method for plotting and manual select data
noPlottingData

generic method for 'noPlottingData' aka 'is.null'
nnMNF

Class nnMNF
show,PeakList-method

method defining show() for the MassSpectra class show has a generic by default
legend.col

legend.col
MCR-class

Class MCR
show,MassImage-method

method definition 'show' on 'MassImage' show has a generic by default
poissonScaling

generic method for "poissonScaling"
show,MassSpectra-method

method defining show() for the MassSpectra class show has a generic by default
ydim

generic accessor method for "ydim"
plot

Generic method for plot
nnMean

nnMean is C++ code for calculating nearest neighbour means in a 2D matrix
xy

xy, slot of MassImage class objects
peakMzs

peakMzs, slot of PeakList class objects
baseObject

generic accessor method baseObject
validMassImageObject

Validation method functionf for class MassImage objects
xdim,MassImage-method

Getter, method definition "xdim" on "MassImage"
xdim

generic accessor method for "xdim"
image

set a generic method for image
xySpec

Generic method xySpec
ydim<-

generic setter method for "ydim"
unitMassPeaks

Generic method for unitMassPeaks
instrument

instrument, slot of MassSpectra class objects
nz

nz, slot of MassSpectra class objects
resids

generic accessor method for resids
peakPick

generic method peak.pick
xdim,PCA-method

method xdim() for PCA class object
mz,MassSpectra-method

mz getter method
peakWidths

Generic method peakWidths
smootherGolay

generic method smootherGolay
peakIDs

peakIDs, slot of PeakList class objects
getTOFs

generic method to calculate and get TOFs
pcaScores

generic accessor for slot pcaScores
xdim<-

generic setter method for "xdim"
zdim

generic accessor method for "zdim"
makeTIC,MassSpectra-method

Method makeTIC for MassSpectra Class
smootherSpline

generic smootherSpline
analysis

analysis, slot of MassSpectra class objects
calibration

calibration, slot of MassSpectra class objects
coordToPixel

coordToPixel coordToPixel translates xy coordinates from the locator() function to cell coordinates from the image function. Origo is according to ToF-SIMS images the upper left corner.
validMassSpectraObject

Validation method function for class MassImage objects
validPCAObject

Validation method function for class PCA objects
resids,MCR-method

MCR accessor resids,
tofsims-package

ToF-SIMS Toolbox (tofsims)
ydim,PCA-method

method ydim() for PCA class object
SNR

Signal-to-Noise Ratio (SNR)
covDiffCalc

covDiffCalc calculates a x/y shift covariance matrix of a multispectral image according to Switzer and Green 1984.
dim,MassImage-method

method dim for MassImage
makeTIC

generic for makeTIC
pcaLoadings

generic accessor for slot pcaLoadings
addPeaks

generic method to add peaks
plot,MassImage,missing-method

Method plot() for MassImage
peaks2Spectra

generic method peaks2Spectra
plot,PeakList,missing-method

Method plot() for MassSpectra
smoothScatter

generic for smoothScatter
validPeakListObject

Validation method function for class PeakList objects
LapackGenEigen

LapackGenEigen
PrComp-class

Class PrComp
iters,MCR-method

MCR accessor iters,
cReadRawPhi

Ulvac phi ToF-SIMS raw data import
pcaMAF

helper function for MAF calculation
look.for.itzip.property

Get ITZIP property value
readBIF

ToF-SIMS BIF/BIF6 file import
scale

generic for scale
subset

Generic method for subset
reduceSpectrumResolution

generic method reduceSpectrumResolution