clusterBarPlot | R Documentation |
clusterBarPlot
clusterBarPlot(
cell.annotation,
sel.col = "Cell.Type",
cell.colors = NULL,
legend.title = NULL,
legend.position = "bottom",
legend.ncol = NULL
)
cell.annotation |
A data.frame of cells' annotation containing the cells' Cluster and other information to be colored. |
sel.col |
The column name of cell.annotation, which indicating the type of cells. |
cell.colors |
An array of colors used to show the cells' type. If NULL, the default colors will be used. |
legend.title |
The title of legends. If NULL, the value of "sel.col" will be used. |
legend.position |
The position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector). |
legend.ncol |
The number of column of legends. |
A bar plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.