plot_puck_continuous: Plots a continuous value over locations on the puck

View source: R/plotting.R

plot_puck_continuousR Documentation

Plots a continuous value over locations on the puck

Description

Colors points based on value of the function

Usage

plot_puck_continuous(
  puck,
  barcodes,
  plot_val,
  ylimit = c(0, 1),
  title = NULL,
  counter_barcodes = NULL,
  label = F,
  my_pal = NULL,
  xlim = NULL,
  ylim = NULL,
  size = 0.15,
  alpha = 1,
  small_point = F
)

Arguments

puck

an object of type SpatialRNA

barcodes

a list of barcodes to include in the plot

plot_val

a named (by barcode) list of values to plot

ylimit

minimum and maximum values for the range of plot as a numeric list

xlim

(optional) minimum and maximum value for x coordinate as a numeric list

ylim

(optional) minimum and maximum value for y coordinate as a numeric list

size

numeric size of points

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.