Learn R Programming

GeneSelector (version 2.22.0)

dispersion,RepeatedRanking: Compute genewise dispersion measures for repeated rankings

Description

Dispersion is computed with respect to ranks, computed genewise. Three different measures are implemented: standard deviation (sd), median absolute deviation (mad), and interquartile range (IQR). The function is primarily intended to serve as helper function for AggregatePenalty.

Usage

dispersion(RR, measure = c("sd", "mad", "iqr"), scheme = c("original", "symmetric", "user"), center = NULL)

Arguments

RR
An object of class RepeatedRanking.
measure
Specifies the dispersion measure, s. description.
scheme
Specifies how the location parameter is computed. If scheme="original", then the location parameter is chosen as the reference ranking (slot original). If scheme = "symmetric", then original@ranking and rankings are pooled to compute the location parameter either as the joint mean (if measure = "mean") or the joint median (if measure = "median"). Alternatively, the user may provide locations by using the center argument.
center
Location parameters to be used. Used only if scheme = "user".

Value

  • A numeric vector containing the dispersion measure for each gene.

See Also

GeneRanking, RepeatedRanking