Legend of a mask
Usage
at_mask_legend(mask, call = rlang::caller_env())Value
The mask's legend tibble::tibble (value, label, layer,
roi_id, n_px, colour).
Examples
at_mask_legend(at_mask(at_example_project(), "labelled"))
#> # A tibble: 3 × 6
#> value label layer roi_id n_px colour
#> <int> <chr> <chr> <chr> <int> <chr>
#> 1 1 tumour regions roi_000000025 19600 #999999
#> 2 2 necrosis regions roi_000000026 72704 #E69F00
#> 3 3 stroma regions roi_000000027 34200 #56B4E9