Write a project's ROIs as QuPath GeoJSON
Usage
at_write_qupath(
project,
path,
layer = NULL,
level = 0L,
overwrite = FALSE,
call = rlang::caller_env()
)Arguments
- project
An annot_project.
- path
Output file path.
- layer
Optional layer filter.
- level
Integer pyramid level. Default
0.- overwrite
Logical; overwrite an existing file. Default
FALSE.- call
The calling environment, for error reporting.
Examples
p <- withr::local_tempfile(fileext = ".geojson")
at_write_qupath(at_example_project(), p)