plot_cells | R Documentation |
Produces a scatter plot of the cells in the tissue. Cells are
coloured categorically by Cell.Type
column. Cell categories not specified
will be coloured "lightgrey" and labled "Unspecified".
plot_cells(
spe_object,
categories_of_interest = NULL,
colour_vector = NULL,
feature_colname = "Cell.Type"
)
spe_object |
SpatialExperiment object or a data.frame that has cell locations and cell type info. |
categories_of_interest |
String Vector of cell categories to be coloured. |
colour_vector |
String Vector specifying the colours of each cell type. |
feature_colname |
String specifying the column the cell categories belong to. |
A plot is returned
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.