Skip to content

Commit abf0e7d

Browse files
committed
Update nb
1 parent 176bcf4 commit abf0e7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/notebooks/spatial_data_merfish_2.ipynb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
" coordinate_system=\"global\",\n",
101101
" coordination_values={\n",
102102
" # The following tells Vitessce to consider each observation as a \"spot\"\n",
103-
" \"obsType\": \"spot\",\n",
103+
" \"obsType\": \"cell\",\n",
104104
" }\n",
105105
")\n",
106106
"dataset = vc.add_dataset(name='MERFISH').add_object(wrapper)\n",
@@ -111,6 +111,12 @@
111111
"layer_controller = vc.add_view(\"layerControllerBeta\", dataset=dataset)\n",
112112
"obs_sets = vc.add_view(\"obsSets\", dataset=dataset)\n",
113113
"\n",
114+
"vc.link_views_by_dict([spatial, layer_controller], {\n",
115+
" 'spotLayer': CL([{\n",
116+
" 'obsType': 'cell',\n",
117+
" }]),\n",
118+
"}, scope_prefix=get_initial_coordination_scope_prefix(\"A\", \"obsSpots\"))\n",
119+
"\n",
114120
"vc.link_views([spatial, layer_controller, feature_list, obs_sets], ['obsType'], [wrapper.obs_type_label])\n",
115121
"\n",
116122
"# Layout the views\n",

0 commit comments

Comments
 (0)