plot_puck_wrapper: Plots a continuous value over filtered locations on the puck

View source: R/plotting.R

plot_puck_wrapperR Documentation

Plots a continuous value over filtered locations on the puck

Description

Colors points based on value of the function, filtered for e.g. UMI and cell type

Usage

plot_puck_wrapper(
  puck,
  plot_val,
  cell_type = NULL,
  minUMI = 0,
  maxUMI = 2e+05,
  min_val = NULL,
  max_val = NULL,
  title = NULL,
  my_cond = NULL
)

Arguments

puck

an object of type SpatialRNA

plot_val

a named (by barcode) list of values to plot

cell_type

string specifying cell type to plot. if NULL, then all cell types are plotted

minUMI

numeric, minimum value for total UMIs to filter pixels

maxUMI

numeric, maximum value for total UMIs to filter pixels

min_val

numeric, minimum value for the range of plot as a numeric list

max_val

numeric, maximum value for the range of plot as a numeric list

cell_type_info

cell type information and profiles (see get_cell_type_info)

Value

Returns a ggplot object


dmcable/RCTD documentation built on Feb. 24, 2024, 11:03 p.m.