mean_of_medians {structToolbox}R Documentation

Mean of median adjustment

Description

Applies an offset to the data such that the mean of the medians is equal for all samples.

Usage

mean_of_medians(factor_name, ...)

Arguments

factor_name

the column sample of sample_meta to use. Mean of medians will be applied based on the levels in this factor.

...

additional slots and values passed to struct_class

Value

struct object

Examples

D = iris_DatasetExperiment()
M = mean_of_medians(factor_name='Species')
M = model_apply(M,D)

[Package structToolbox version 1.0.1 Index]