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.
addQuantilesColors(e, ngroups = 3)
ExpressionSet object to use for computation
Number of groups to be created
Number of computed quantiles is equal to (ngroups - 1).
The ExpressionSet object e is returned, with a new column called colorsQuantilesVector in its slot featureData
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.