plotSpatialScore-methods: Plot spatial expression

plotSpatialScoreR Documentation

Plot spatial expression

Description

Plot spatial expression for selected genes.

Usage

plotSpatialScore(
  object,
  assay.type = "ST",
  sample.name = "Sample1",
  cluster.column = "population",
  selected_clusters = NULL,
  genelist,
  point.size = 1.75
)

## S4 method for signature 'CellRouter'
plotSpatialScore(
  object,
  assay.type = "ST",
  sample.name = "Sample1",
  cluster.column = "population",
  selected_clusters = NULL,
  genelist,
  point.size = 1.75
)

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.

selected_clusters

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

genelist

character vector; genes to show.

point.size

numeric; the size of the spot in the image.

Value

list; ggplot2 plots.


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