You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jane Ling edited this page Jul 17, 2023
·
8 revisions
To change the selection of cells after initializing the PecanPie object, you may either define the new selection as a list or interactivly select/de-select cells from a figure
Defining selection with a list
A list can be defined in many ways. Here are two examples which gives the same results.
cells_to_plot can be defined in the same way. IMPORTANT: If any of the two selections is not provided, the unprovided set will be reset to the default value.
After defining the selections, run the following line. It will check the validity of the new selection and update the metadata.
The following codes will open a figure, in which the selected ROIs are shown with green contour. You may click on ROIs to select or de-select them. When you are happy with the selection, press ENTER on the keyboard to exit the figure. Metadata will be automatically updated.