spotPOPplot: spotPOPplot

View source: R/Visualize.R

spotPOPplotR Documentation

spotPOPplot

Description

spotPOPplot

Usage

spotPOPplot(
  object,
  outputFolder = NULL,
  title = "CellPOP",
  meta = object@cell_metadata$leiden,
  legend = "leiden",
  savePlot = FALSE,
  ...
)

Arguments

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

Value

ggplot object


YeehanXiao/STREAM documentation built on Aug. 13, 2022, 6:43 p.m.