Skip to contents

Plot a project's ROIs

Usage

at_plot_project(
  project,
  layer = NULL,
  label = NULL,
  show_labels = TRUE,
  alpha = NULL,
  call = rlang::caller_env()
)

Arguments

project

An annot_project.

layer, label

Optional filters.

show_labels

Logical; draw label text at centroids. Default TRUE.

alpha

Fill opacity; a sensible default when NULL.

call

The calling environment, for error reporting.

Value

A ggplot2::ggplot object. Empty projects give a valid empty plot.

Examples

at_plot_project(at_example_project())