plotSpatialSubclusters: Plot subclusters

View source: R/spatial_transcriptomics.R

plotSpatialSubclustersR Documentation

Plot subclusters

Description

Plot subclusters from selected clusters.

Usage

plotSpatialSubclusters(
  object,
  assay.type = "ST",
  sample.name = "Sample1",
  cluster.column = "population",
  subcluster.column = "Subpopulation",
  selected_clusters,
  annotate_centroids = FALSE,
  point.size = 1.75,
  title = NULL
)

Arguments

object

the CellRouter object.

assay.type

character; the type of data to use.

sample.name

character; the name of the tissue sample.

cluster.column

character; the name of the column where the clustering information is stored.

subcluster.column

character; the name of the column where the subclustering information is stored.

selected_clusters

list; a vector containing the name of the clusters that will be plotted for each tissue sample.

annotate_centroids

boolean; annotate the subcluster centroids.

point.size

numeric; the size of the spot in the image.

title

character; figure title.

Value

ggplot2; plot.


edroaldo/fusca documentation built on March 1, 2023, 1:43 p.m.