This function is a dispatcher for the score function selected in input.
Usage
getScorer(
score = c("sum", "weightedSum", "mean", "trimmedMean", "weightedMean", "median",
"mode", "midrange", "midhinge", "trimean", "iqr", "iqm", "mad", "aad", "ssgsea",
"gsva", "plage", "zscore")
)
Value
A scoring function:
"sum"
"weightedSum"
"mean"
"trimmedMean"
"weightedMean"
"median"
"mode"
"midrange"
"midhinge"
"trimean"
"iqr"
"iqm"
"mad"
"aad"
"ssgsea"
"gsva"
"plage"
"zscore"
Details
The scoring functions are created via the generic scorer
genericScorer
which handles vector or matrix
input by calling computeColMeasures
.
Internally, computeColMeasures
uses these
functions to compute the measures:
colSummations
,
colWeightedSums
,
colArithmeticMeans
,
colTrimmedMeans
,
colWeightedArithmeticMeans
,
colMidpoints
,
colModes
,
colMidranges
,
colMidhinges
,
colTrimeans
,
colIQRs
,
colIQMs
,
colMADs
,
colAADs
,
colSsgsea
,
colGsva
,
colPlage
,
colZscore