Description Usage Arguments Details Value Author(s) Examples
Possion scaling for data matrices.
1 2 3 4 | poissonScaling(object, offset = 1, ...)
## S4 method for signature 'MassSpectra'
poissonScaling(object, offset = 1, ...)
|
object |
object of class MassSpectra |
offset |
numeric value for poisson scaling |
... |
further args |
Possion scaling is proposed as the method of choice for ToF-SIMS data
see Keenan and Kotula 2004. This implementation was done according to
a description in Multivariate Analysis of SIMS spectra in
ToF-SIMS: Materials Analysis by Mass Spectrometry, Vickerman and
Briggs 2013
and the eigenvector wiki
. The offset is described in
the eigenvector wiki
.
object of class MassSpectra with poission scaled mass spectra in slot nz
object of class MassSpectra
Lorenz Gerber lorenz.gerber@slu.se
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## poisson scaling of MassSpectra objects
testImage <- MassImage('dummy')
testImage <- poissonScaling(testImage)
## Not run:
# poission scaling on real data
library(tofsimsData)
data(tofsimsData)
par(mfcol=c(2,2))
plot(testImage,type='l')
image(testImage)
testImage <- poissonScaling(testImage)
plot(testImage,type='l')
image(testImage)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.