In order to work with your data, create feem
and/or
feemcube
objects from files or matrix or array objects.
Use feemlist
to import files in bulk. If your files
aren't in one of the formats supported by feem
but you
can read their contents by other means, you can supply an importer
function to feemlist
; it should take a file name and
return the corresponding feem
object.
Operations that can be performed on the objects include plotting
(plot.feem
), calculation of fluorescence indices
(feemindex
), inner-filter effect correction
(feemife
), handling of scattering signal
(feemscatter
), changing the wavelength grid of the data
by means of interpolation (feemgrid
), and scaling
(feemscale
). Scaling may be automatically undone after
performing the PARAFAC decomposition so that the resulting scores
would correspond to the data as it was before the scaling.
All processing functions can take individual feem
objects, lists of them, or feemcube
objects and return
values of the appropriate kind. For example, feemscatter
always returns an object of the same class but with the scattering
signal handled, while feemindex
returns named numeric
vectors for individual feem
s but
data.frame
s for collections of them. There's a
slight memory benefit to using lists of feem
objects,
but the difference shouldn't be noticeable, so there's nothing to
worry about if you started with a feemcube
.
In order to compute PARAFAC, you need to convert your data into a
feemcube
. Whether you perform jack-knifing, split-half
analysis, or PARAFAC itself, a copy of the data cube is kept together
with the results and can be extracted back using the
feemcube
function. The resulting objects support a
plot
method (described in the same help page) and can give you
the data as a few-column data.frame
using the
coef
method.
Once the analysis is finished, the PARAFAC model can be exported for
the OpenFluor database (write.openfluor
) or stored as an
R object using standard R tools (save
or
saveRDS
).
tools:::Rd_package_indices("albatross")