powered by
Functions to normalize a flat scores matrix w.r.t. max normalization (MaxNorm) or quantile normalization (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. Library 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 library is uded.
# 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