open-worm-analysis-toolbox icon indicating copy to clipboard operation
open-worm-analysis-toolbox copied to clipboard

Create rank sort summary

Open JimHokanson opened this issue 10 years ago • 1 comments

The goal is to summarize how a worm's features sort relative to other worms. As a simple example, one of the outputs from this "function" might be that the worm's width was in the 50th percentile. Alternatively, one might find that a simulated worm is in the 0th percentile for width. This would suggest whatever is controlling width in the simulation is not appropriate.

For now the steps to compute this would be:

  1. Get histograms for "control" worms
  2. Get a histogram for the example worm
  3. Compute basic statistics - see Issue #76 , although we don't really need anything fancy, just a mean or median would be fine
  4. Sort these statistics for all control worms, and find where the example worm fits

I'm not exactly sure of the output, perhaps an iterable of tuples. It would probably be best to encapsulate in an object for display and for summarizing. An example summary graph might be the distribution (histogram) of rank orders. One could also return the values sorted (via method or property/method) from best (closest to 50%) to worse (0 or 100%).

For example: width is at 50% length is at 80% range is at 80% Then just build a histogram of percentiles

** The goal ** is to provide an easy metric for how the example compares to the group. This could be run on the "control" group as well, since not every control example can be in the 50th percentile (someone has to be the largest or smallest).

A related task: #109

JimHokanson avatar May 01 '15 03:05 JimHokanson

FYI I call this the "Hokanson Histogram-of-Percentiles Summary" in the LucidChart:

image

MichaelCurrie avatar May 26 '15 21:05 MichaelCurrie