normalize_global_basic: Normalize e_data within SPANS

View source: R/spans.R

normalize_global_basicR Documentation

Normalize e_data within SPANS

Description

This function is intended to be used in SPANS only. It is a VERY trimmed down version of normalize_global. It is trimmed down because within SPANS we only need the norm_params element from the output of the normalize_global function. All of the other options and output can be ignored.

Usage

normalize_global_basic(edata, norm_fn)

Arguments

edata

a p \times n + 1 data.frame, where p is the number of peptides, lipids, or metabolites and n is the number of samples. Each row corresponds to data for a peptide, protein, lipid, or metabolite, with a column giving the identifer name.

norm_fn

character string indicating the normalization function to use for normalization. See details for the current offerings.

Value

A list containing the location and scale parameters for normalizing the data.


pmartR/pmartRqc documentation built on April 25, 2024, 6:18 a.m.