transformation: Data transformation

View source: R/prep.R

transformationR Documentation

Data transformation

Description

Data transformation

Usage

transformation(para, method = 1, valueID = "valueNorm", ...)

Arguments

para

An metaX object

method

The method for transformation, 0=none, 1=log, 2=Cube root, 3=glog

valueID

The name of column used for transformation

...

Additional parameter

Value

An new metaX object

Author(s)

Bo Wen wenbostar@gmail.com

Examples

para <- new("metaXpara")
pfile <- system.file("extdata/MTBLS79.txt",package = "metaX")
sfile <- system.file("extdata/MTBLS79_sampleList.txt",package = "metaX")
rawPeaks(para) <- read.delim(pfile,check.names = FALSE)
sampleListFile(para) <- sfile
para <- reSetPeaksData(para)
para <- missingValueImpute(para)
para <- transformation(para,valueID = "value")

wenbostar/metaX documentation built on July 4, 2023, 7:50 p.m.