addQuantilesColors: Compute quantiles for plotGeneDE function

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/addQuantilesColors.R

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

1
addQuantilesColors(e, ngroups = 3)

Arguments

e

ExpressionSet object to use for computation

ngroups

Number of groups to be created

Details

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

Value

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

Author(s)

Eric Lecoutre

See Also

plotLogRatio

Examples

1
2
3
4
5
if (require(ALL)){
  data(ALL, package = "ALL")
  ALLQ <- addQuantilesColors(ALL)
  fData(ALLQ)
}

a4Base documentation built on Nov. 8, 2020, 5:41 p.m.