PlotExprCODEXspatial: Plot expression of a gene or protein in the CODEX spatial...

View source: R/plotting.R

PlotExprCODEXspatialR Documentation

Plot expression of a gene or protein in the CODEX spatial coordinates

Description

Plot expression of a gene or protein in the CODEX spatial coordinates

Usage

PlotExprCODEXspatial(
  stvea_object,
  name,
  type = "protein",
  high_color = "red",
  high_color2 = "green",
  low_color = "white",
  pt_size = 0.8
)

Arguments

stvea_object

STvEA.data class with CODEX expression and spatial xy

name

gene or protein name to plot

type

which type of expression data should be plotted? "RNA" or "protein"

high_color

color of high expression on the color ramp

high_color2

color of high expression for second protein or gene, if provided

low_color

color of low/no expression on the color ramp

pt_size

ggplot geom_point size


CamaraLab/STvEA documentation built on April 2, 2024, 6:07 a.m.