A bar plot shows the ordered Gini coefficients of transcriptional states. The transcriptional states with high Gini coefficients (i.e. close to 1) indicates that only a few cell clusters highly express the genes in these transcriptional states. It is easier for users to define cell types based on these genes in these significant states.
GiniPlot(counts, celda.mod, cell_clusters = NULL, label_size = 4,
bar_col = NULL)
A numeric count matrix.
An object of class celda_CG.
A list of cell clusters. Calculate Gini coefficients using cells from specific cell clusters. If NULL, uses all cells (NULL by default).
Numeric. The size of labels of transcrptional states on top of bars (4 by default).
The color of bars (#FF8080FF by default).