Skip to contents

Plot MAC-seq data on a plate layout

Usage

plot_plate_layout(
  data = NULL,
  metric = NULL,
  annotation = NULL,
  midpoint = NULL
)

Arguments

data

A tidyseurat object merged with metadata. Must contain columns "Well_ID", "Row", "Column"

metric

A string specifying which column in data will be used to color a sample. Defaults to "nCount_RNA".

annotation

A string specifying which column in data will be used to label a sample. Defaults to "Treatment_1".

midpoint

A value to be used in heatmap scale bar, it can be either mean value or median value.

Value

ggplot object

Examples


data("mini_mac")
p <- plot_plate_layout(mini_mac, metric = "nCount_RNA",
annotation = "Treatment_1", midpoint = "mean")