CellProfiler/CellProfiler — Issue #161: JIRA [IMG-954] FilterObjects: Enable multi-class rule filtering
Author: thouis
Created: 2011-11-23 20:50:27+00:00
State: open
Labels: current

Right now, filtering by rules can only be done using 2 classes (pos/neg). It would be nice to be able to choose the phenotype if there is more than 2 (or even if there's only two, if I actually want to retain the negatives)
Perhaps the rules file can contain the phenotype labels as the first line, and the user can select one of these from a drop-down box?
Attached is an example of a 3-class system, with class labels:"flat_elongated","else","neurosphere".
IF (Idd0_AreaShape_MinorAxisLength> 20.2563, [0.63777470442661888, -0.99277233523126096, -0.645020038740302], [-0.96487885628352088, 0.09552071488212753, -0.13063427864363286])
IF (tubulin_Intensity_LowerQuartileIntensity_Corrd1> 0.15584600000000001, [0.45741641851180953, -0.97391919170295105, -0.25923792952999597], [-0.74298671384018833, 0.0064522532568963391, 0.030002789571102449])
IF (tubulin_AreaShape_Eccentricity> 0.919269, [-0.9852462947457562, 0.53897199931350281, -0.46117613468966101], [0.024567308471897618, -0.40865971470547668, 0.16566478155133066])
IF (Idd0_AreaShape_Perimeter> 79.662000000000006, [0.24401099575834234, -0.82397936362830038, -0.065816397594979315], [-0.88006579616658021, 0.16011225449144012, 0.028469768600791766])
IF (tubulin_AreaShape_MajorAxisLength> 25.5943, [-0.055116859203069357, 0.085120664201592297, -0.096057706864883324], [-0.38929793127734402, -0.81219517288358578, 0.82736255266615988])

Original reporter: mbray
Jira link: https://jira.broadinstitute.org/browse/IMG-954
Fix version: Current
Assignee: leek