scores.normalization {HEMDAG} | R Documentation |
Scores normalization function
Description
Normalize a scores matrix w.r.t. max normalization (maxnorm
) or quantile normalization (qnorm
)
Usage
scores.normalization(norm.type = "maxnorm", S)
Arguments
norm.type |
can be one of the following two values:
|
S |
A named flat scores matrix with examples on rows and classes on columns. |
Details
To apply the quantile normalization the preprocessCore package must be properly installed.
Value
The matrix of the scores flat normalized w.r.t. maxnorm
or qnorm
.
Examples
data(scores);
norm.types <- c("maxnorm","qnorm");
for(norm.type in norm.types){
scores.normalization(norm.type=norm.type, S=S);
}
[Package HEMDAG version 2.7.4 Index]