biolab / orange3-bioinformatics

🍊🔬 Bioinformatics add-on for Orange3
GNU General Public License v3.0
20 stars 21 forks source link

[ENH] Cell type identification #135

Closed PrimozGodec closed 5 years ago

PrimozGodec commented 5 years ago

Implement a widget that annotates a 2D projection of cell types. It operates in multiple modular steps:

  1. Assign cell type significance scores to each cell. This is computed only once and must be efficient. This module will be implemented in https://github.com/biolab/orange3-bioinformatics/pull/133
  2. Compute a 2D projection (default: t-SNE, use optional Preprocessor).
  3. Find regions on the 2D projection (widget use DBSCAN) that are enriched with certain cell types. Allow modifying resolution. The function that will find regions and label them is implemented in https://github.com/biolab/orange3-bioinformatics/pull/134. Every group will be circled with the concave hull. This functionality will be also implemented in https://github.com/biolab/orange3-bioinformatics/pull/134.
  4. Visualize regions with the clearest enrichment of cell types.

Workflow

image1

Inputs:

Outputs:

Widget

The widget will be similar to the scatter plot. It will include the control area and the visualization area.

Control area

It includes three main sections:

Visualization area

This part is a scatter plot like a graph with additional elements:

Widget sketch:

IMG_20190529_113113

Examples of good visualizations:

screen2 screen3

BlazZupan commented 5 years ago

Images above are nice. I propose a combination of outlining with dotted line and labelling, like in the bottom figure above. Also, a recently presented paper on "LabelTransfer - Integrating Static and Dynamic Label Representation for Focus+Context Text Exploration" by Qi Han from Stuttgart (pdf seems not to be available on the net) proposes the following label design:

image