epam / cloud-pipeline

Cloud agnostic genomics analysis, scientific computation and storage platform
https://cloud-pipeline.com
Apache License 2.0
146 stars 59 forks source link

HCS images analysis. Define results block #2694

Open NShaforostov opened 2 years ago

NShaforostov commented 2 years ago

Background

A clear and concise description of what the problem is. Ex. At the moment, Cloud Pipeline does not allow [...] and it would be nice to [...] because [...]

Approach

A new panel shall be added to the HCS preview pop-up. Via this panel, a set of the analysis results to output can be defined. By default, this panel shall have a view like: image

The pop-up shall contain:

Define area for analysis

By click the corresponding button, a new pop-up shall appear, e.g.: image

This pop-up shall contain several controls to select area for analysis:

When user selected something - the corresponding fields in the describing panel shall be updated, e.g.: image

If no field (and correspondingly, no well and no plate) is selected (excluding case when 'all' fields/wells are selected) - OK button shall become disabled. If no time point in all sequences is selected - OK button shall become disabled.

Add output property

By click the corresponding button, several fields shall appear, e.g.: image

Here, the following controls shall appear:

Default property for any object shall be "Number of objects", that outputs the count of the selected object. Other properties can be statistic therefore for them, an additional dropdown shall appear while adding, e.g.: image

This dropdown list shall include the set of the statistic functions that will be applied for the selected property. Multiselect is allowed. Dropdown list shall include:

At least one item in the statistic list shall be selected, there should not be the ability to unselect all items.

Each property from that list shall be calculated and output after the analysis as separate column in the spreadsheet. The column shall have header by the format <Object name> - <Property name> - <Statistical function>, for the "Number of objects" the format shall be <Object name> - Number of objects

To add another object (and its property(s)) to output - user shall click "+ Output property" button again.

Add formula output property

By click the corresponding button, several fields shall appear, e.g.: image

Here, the following controls shall appear:

Example of the specified formula: image

To add another formula to output - user shall click "+ Output formula" button again.

Object properties

For each object, found via the image analysis, there should be own set of properties. Any object shall have mandatory property Number of objects - total count of the object entities per image. This property can not be combined with the statistic aggregate. All other object properties shall be aggregated with the one/several static aggregates (Mean, Median, StdDev, CV %, Max, Min, Sum)

Properties by objects:

Other options

maryvictol commented 1 year ago

Test case was created by #2786 and located here.