View source: R/normalize_zero_one.R
| zero_one_scale | R Documentation | 
Re-scales the data to be between 0 and 1
zero_one_scale(e_data, edata_id)
| e_data | e_data a  | 
| edata_id | character string indicating the name of the peptide, protein,
lipid, or metabolite identifier. Usually obtained by calling
 | 
The sample-wise minimum of the features is subtracted from each feature in e_data, then divided by the difference between the sample-wise minimum and maximum of the features to get the normalized data. The location estimates are not applicable for this data and the function returns a NULL list element as a placeholder. The scale estimates are the sample-wise feature ranges. All NA values are replcaed with zero.
List containing two elements: norm_params is list with two
elements:
| scale | Range of each sample used in scaling | 
| location | NULL | 
backtransform_params is a list with two elements:
| scale | NULL | 
| location | NULL | 
The transformed data is returned as a third list item.
Lisa Bramer, Kelly Stratton, Rachel Richardson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.