feemscale | R Documentation |
Given a norm function (typically, standard deviation), scale the intensities in FEEM objects to it and optionally remember the scale factor.
feemscale(x, ...)
## S3 method for class 'feem'
feemscale(x, norm = sd, remember = TRUE, ...)
## S3 method for class 'feemcube'
feemscale(x, ..., progress = FALSE)
## S3 method for class 'list'
feemscale(x, ..., progress = FALSE)
x |
A FEEM object, a FEEM cube object, or a list of anything compatible
with |
norm |
A function taking a numeric matrix and returning its norm. Typically,
|
remember |
Whether to remember the scale factor. If |
... |
Passed as-is to |
progress |
Set to |
feemscale.feem
: a FEEM object with intensities divided by scale
factor (norm(x)
) and its scale
attribute multiplied by
the scale factor.
feemscale.feemcube
: a FEEM cube built from FEEM objects scaled
as described above.
feemscale.list
: a list consisting of results of
feemscale
generic applied to its elements.
Bro2003
feem
feemscale(feem(matrix(1:42, 6), 1:6, 1:7))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.