View source: R/DataProcessing.R
DataProcessing | R Documentation |
function to Perform external datas' pre-processing. This function allows an external pre-processing of the datasets including on the analysis in three ways: Standard, Compositional (centered log ratio) and frequencies.
DataProcessing(Data = NULL, Method = "Standard")
Data |
a numeric data.frame. |
Method |
character indicating the method used to Data preprocessing. If data are continous, use 'Standard'. If Data are compositional, please use 'Compositional' and clr (centered log-ratios functions) transformations are performed. To compositional data, you also could use the option 'TSS' Total Sum Scaling follow up bray (Bray-Curtis) in distance option. The function also allows to processing frequencies- like data through 'FreqNorm' option. Note that when you use Compositional, we first sum 1 to all the counts (in order to performs the log transformation before). |
a data.frame with normalized data.
Laura M Zingatetti
{ data(Taraoceans) Data<-Taraoceans$phychem Data<-DataProcessing(Data,Method='Standard') }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.