vc = VitessceConfig(schema_version="1.0.16")
dataset = vc.add_dataset(name='Spraggins').add_object(
ImageOmeTiffWrapper(
img_url="https://storage.googleapis.com/vitessce-demo-data/kpmp-f2f-march-2023/S-1905-017737/S-1905-017737_PAS_2of2_bf.ome.tif",
offsets_url="https://storage.googleapis.com/vitessce-demo-data/kpmp-f2f-march-2023/S-1905-017737/S-1905-017737_PAS_2of2_bf.offsets.json"
)
).add_object(
ObsSegmentationsOmeTiffWrapper(
img_url="https://storage.googleapis.com/vitessce-demo-data/kpmp-f2f-march-2023/S-1905-017737/S-1905-017737_PAS_2of2.ome.tif",
offsets_url="https://storage.googleapis.com/vitessce-demo-data/kpmp-f2f-march-2023/S-1905-017737/S-1905-017737_PAS_2of2.offsets.json",
obs_types_from_channel_names=True
)
)
spatial = vc.add_view("spatialBeta", dataset=dataset)
lc = vc.add_view("layerControllerBeta", dataset=dataset)
vc.link_views_by_dict([spatial, lc], {
"imageLayer": CL([
{
"photometricInterpretation": "RGB"
}
]),
}, meta=True, scope_prefix=get_initial_coordination_scope_prefix("A", "image"))
vc.layout(spatial | lc);