SCANT: SCAle, Normalize and Transform a data matrix

Description Usage Arguments Value Author(s) Examples

View source: R/SCANT.R

Description

This function allows the column-wise or row-wise scaling, normalization and tranformation operations on a data matrix.

Usage

1
SCANT(data.matrix, type = "unit", what = "columns")

Arguments

data.matrix

the data matrix to be scaled, normalized or transformed.

type

the operations to be performed, this can be multiple and are performed sequantially. Any of 'unit', 'pareto', 'log10', 'log2', 'center', 'range', 'vast' or 'prob.Q' are accepted.

what

to specify on which to perform the operations (row or column).

Value

The scaled, normalized and/or transformed matrix.

Author(s)

Charlie Beirnaert, charlie.beirnaert@uantwerpen.be

Examples

1
2
3
4
5
6
Samples <- 10
Features <- 20
data.matrix <- matrix(runif(n=Features*Samples, min=0,max=100), 
ncol = Features, nrow = Samples) 

changed_matrix = SCANT(data.matrix, type=c('pareto', 'center'), what = 'columns')

speaq2 documentation built on May 6, 2017, 4:09 a.m.

Related to SCANT in speaq2...