FRESAScale: Data frame normalization

View source: R/FRESAScale.r

FRESAScaleR Documentation

Data frame normalization

Description

All features from the data will be normalized based on the distribution of the reference data-frame

Usage

	FRESAScale(data,refFrame=NULL,method=c("Norm","Order","OrderLogit","RankInv"),
    refMean=NULL,refDisp=NULL,strata=NA)

Arguments

data

The dataframe to be normalized

refFrame

The reference frame that will be used to extract the feature distribution

method

The normalization method. Norm: Mean and Std, Order: Median and IQR,OrderLogit order plus logit, RankInv: rankInverseNormalDataFrame

refMean

The mean vector of the reference frame

refDisp

the data dispersion method of the reference frame

strata

the data stratification variable for the RankInv method

Details

The data-frame will be normalized according to the distribution of the reference frame or the mean vector(refMean) scaled by the reference dispersion vector(refDisp).

Value

scaledData

The scaled data set

refMean

The mean or median vector of the reference frame

refDisp

The data dispersion (standard deviation or IQR)

Author(s)

Jose G. Tamez-Pena

See Also

rankInverseNormalDataFrame


FRESA.CAD documentation built on Nov. 25, 2023, 1:07 a.m.