a4 (version 1.20.0)

addQuantilesColors: Compute quantiles for plotGeneDE function

Description

Compute quantiles on mean expression level for plotGeneDE function. Colors of bars in the plot could then be allocated using buckets defined by those quantiles.

Usage

addQuantilesColors(e, ngroups = 3)

Arguments

e
ExpressionSet object to use for computation
ngroups
Number of groups to be created

Value

  • The ExpressionSet object e is returned, with a new column called colorsQuantilesVector in its slot featureData

Details

Number of computed quantiles is equal to (ngroups - 1).

See Also

plotLogRatio

Examples

Run this code
if (require(ALL)){
    data(ALL, package = "ALL")
    ALLQ <- addQuantilesColors(ALL)
    fData(ALLQ)
  }

Run the code above in your browser using DataLab