Creates a bar chart showing the number of gene sets in each cluster, per source when there are several.
Usage
plotBarchart(
geneSetsList,
resolution = NULL,
removeClusterId = FALSE,
highlightClusterNo = NULL
)Arguments
- geneSetsList
'gsList' object with clusters and labels.
- resolution
The cluster resolution to plot. Default
NULLuses the active resolution: the optimal resolution found byclusterGeneSets(), or the one last set withupdateResolution()orupdateClusterLabels().- removeClusterId
Logical, if TRUE the cluster number will be removed from each cluster label. Default: FALSE.
- highlightClusterNo
A vector with the cluster numbers of the clusters (at the resolution) to highlight (in bold) in the plot.

