preProcess: Pre-Processing

View source: R/prep.R

preProcessR Documentation

Pre-Processing

Description

Pre-Processing

Usage

preProcess(para, t = 0, scale = c("auto", "range", "pareto", "vast",
  "level", "power", "none"), center = TRUE, valueID = "valueNorm")

Arguments

para

An metaX object

t

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

scale

The method of scaling: "auto", "range", "pareto", "vast", "level", "power","none"

center

Centering

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 <- preProcess(para,valueID = "value",scale="uv")

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