powered by
Normalize a scores matrix w.r.t. max normalization (maxnorm) or quantile normalization (qnorm)
maxnorm
qnorm
scores.normalization(norm.type = "maxnorm", S)
can be one of the following two values:
maxnorm (def.): each score is divided w.r.t. the max of each class;
def.
qnorm: a quantile normalization is applied. Package preprocessCore is used;
A named flat scores matrix with examples on rows and classes on columns.
The matrix of the scores flat normalized w.r.t. maxnorm or qnorm.
To apply the quantile normalization the preprocessCore package must be properly installed.
# NOT RUN { data(scores); norm.types <- c("maxnorm","qnorm"); for(norm.type in norm.types){ scores.normalization(norm.type=norm.type, S=S); } # }
Run the code above in your browser using DataLab