DataProcessing: DataProcessing

Description Usage Arguments Value Author(s) Examples

View source: R/DataProcessing.R

Description

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.

Usage

1
DataProcessing(Data = NULL, Method = "Standard")

Arguments

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).

Value

a data.frame with normalized data.

Author(s)

Laura M Zingatetti

Examples

1
2
3
4
5
{
data(Taraoceans)
Data<-Taraoceans$phychem
Data<-DataProcessing(Data,Method='Standard')
}

lauzingaretti/LinkHD-examples documentation built on Dec. 21, 2021, 9:42 a.m.