Additional arguments passed to the standardization method.
x
The flattened ion image to be standardized.
sum
The value to which to standardize the sum of the ion image intensity values.
Value
An object of class MSImageSet with the ion images standardized across samples.
Details
Standardization is usually performed using the provided functions, but a user-created function can also be passed to method. In this case it should take the following arguments:
x: A numeric vector of intensities.
...: Additional arguments.
A user-created function should return a numeric vector of the same length.
Internally, featureApply is used to apply the standardization, with .pixel.groups=sample. See its documentation page for more details on additional objects available to the environment installed to the standardization function.