Skip to contents

Summarise a project

Usage

at_summary(project, call = rlang::caller_env())

Arguments

project

An annot_project.

call

The calling environment, for error reporting.

Value

An annot_summary object: a list with n_layers, n_rois, per-label ROI counts, and total area per label.

Examples

at_summary(at_example_project())
#> <annot_summary> example
#> layers: 1  |  ROIs: 3
#>   "necrosis": 1 ROI, area 72704 px
#>   "stroma": 1 ROI, area 34200 px
#>   "tumour": 1 ROI, area 19600 px