View source: R/DATA_normalization_sample-based.R
Sample-based normalization Normalise data by sample-based scaling factor, like sum or mean of sample.
1 | normalize_sample_based(expData, design, method, na = 0)
|
expData |
data.frame: row as sample, colum as metabolite(or features/variables) |
design |
data.frame, including 4 columns: "sample", "batch", "class", "order" (run order). QC sample as "QC" in column "class". |
method |
including: "tic", "median", "mean", "range", "mad", "MSTUS". |
na |
only take 0 as missing value, not NA. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.