as.data.frame.feem: Transform a FEEM object into a data.frame
Description
Transform a FEEM object from its matrix form accompanied by vectors of
wavelengths into a three-column form consisting of \(
(\lambda_{em}, \lambda_{ex}, I)\)
tuples, which could be useful for export or plotting with lattice
or ggplot2.
Usage
# S3 method for feem
as.data.frame(x, row.names = NULL, optional = FALSE, ...)
# S3 method for feemcube
as.data.frame(x, ...)
Arguments
x
A FEEM object, or a FEEM cube object.
row.names
Passed to data.frame. If default of NULL is used,
data.frame will generate sequential integer
row.names.
optional
This option is required for compatibility with as.data.frame
generic, but is ignored, since column names are already syntactic and
row names are generated by data.frame automatically by
default.
Fluorescence intensity at \((\lambda_{em}, \lambda_{ex})\)
sample
For FEEM cube objects, the unique name of the sample possessing this
tuple of values, a factor. If the original object didn't have any
names, sequential integers are used instead. If the original object
had non-unique names, sequence numbers are appended to them using
make.unique.
Details
Rows where intensity is NA are omitted from the output.