label_tiles
Queries the dataset at input_slide_annotation_dataset for a slide_id matching input_slide_tiles
Adds regional_label, intersection_area columns to slide tiles, where the former is the annotation label, and the latter the fraction of intersecting area between the tile and annotation regions
Parameters:
Name | Type | Description | Default |
---|---|---|---|
annotation_urlpath |
str
|
url/path to parquet annotation dataset |
'???'
|
tiles_urlpath |
str
|
url/path to a slide-tile manifest file (.tiles.parquet) |
'???'
|
slide_id |
str
|
slide ID |
'???'
|
output_urlpath |
str
|
output url/path prefix |
'???'
|
storage_options |
dict
|
options to pass to reading functions |
{}
|
output_storage_options |
dict
|
options to pass to writing functions |
{}
|
local_config |
str
|
url/path to local config YAML file |
''
|
Returns: dict: metadata