spotPOPplot | R Documentation |
spotPOPplot
spotPOPplot( object, outputFolder = NULL, title = "CellPOP", meta = object@cell_metadata$leiden, legend = "leiden", savePlot = FALSE, ... )
object |
A giotto object |
outputFolder |
Output folder to save results |
title |
A character for the title of plot. |
meta |
A discrete vector to assign color for each spot, e.g., cell type annotation, HMRF result, expression of a certain gene. |
legend |
A character of feature to divide up cell into sub-populations, e.g. "K-means", "HMRF", "cell type". |
savePlot |
Boolean, whether to save plot. |
... |
other arguments |
ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.