roi_to_subset_state#

glue.core.subset.roi_to_subset_state(roi, x_att=None, y_att=None, x_categories=None, y_categories=None, use_pretransform=False)[source]#

Given a 2D ROI and attributes on the x and y axis, determine the corresponding subset state.