Skip to contents

This function is a dispatcher for the score functions selected in input.

Usage

getScorers(
  scores = c("sum", "weightedSum", "mean", "trimmedMean", "weightedMean", "median",
    "mode", "midrange", "midhinge", "trimean", "iqr", "iqm", "mad", "aad", "ssgsea",
    "gsva", "plage", "zscore")
)

Arguments

scores

character vector, the selected supported measures

Value

A list containing the scoring functions.

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

Author

Alessandro Barberis