Description Usage Arguments Value
View source: R/local_preprocessing_functions.R
Scales a block of data to have a certain variance per sample
1 | block_scale(input_data, settings = list(block_variance = 1))
|
input_data |
A matrix containing data. The rows indicate the samples, the columns indicate the variables. |
settings |
A list with a single named element "block_variance". When block_variance is set, the supplied value is used for scaling, otherwise a value of 1 is used. |
A named list with "preprocessed_data": the scaled input_data matrix, and "settings", which is equal to the settings input parameter when set, and otherwise contains the calculated and used block_std.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.