Skip to contents

Plot response data

Usage

plot_resp(
  df,
  region_boundary,
  group_boundary = NULL,
  assay_quantiles = c(Median = 0.5),
  summary_quantiles = c(`10th percentile` = 0.1)
)

Arguments

df

output from resp_quantiles.

region_boundary

"sf" data.frame mapping features to a "geometry" column. Used to color map regions.

group_boundary

"sf" data.frame containing a "geometry" column. Used to draw outlines around groups of regions.

assay_quantiles

named numeric vector of assay quantile labels.

summary_quantiles

named numeric vector of summary quantile labels.

Value

ggplot2 object.