Skip to main content

GUI to generate, cluster and optimize dimensionality reduction output

Project description

DrCELL Banner

DrCELL - Dimensional reduction Cluster Exploration and Labeling Library

Installation Instructions:

  • Download and install conda.
  • Download DrCELL
  • create conda environment based on the environment.yml file
    • open shell or CMD
    • cd /path/to/DrCELL
    • conda env create -f environment.yml --name DrCELL

Run DrCELL:

  • start DrCELL
    • cd /path/to/DrCELL
    • conda activate DrCELL
  • open CELL in extra window
    • python -m drcell.scripts.startApplication "/path/to/data"
  • alternatively open CELL in browser
    • python -m drcell.scripts.startBokehServer "/path/to/data" --port 5000

Install and run DrCELL with pip (experimental):

  • install python on your system
  • install DrCELL via pip:
    • pip install drcell
  • open CELL in extra window
    • drcell-app "/path/to/data"
  • alternatively open CELL in browser
    • drcell-server "/path/to/data" --port 5000

How to use:

  • Import your data in the DrCELL format (take a look at the Getting Started Notebook)
  • After starting the application (the first launch might take some time), you see the GUI

General Tab

DrCELL Interface General Tab Demo

  • You can select the different datasets you added in the "Data" Selection.
  • With the "Color" Selection, you can select the column of your data, you want to be highlighted with color. The selectable Options can be customized with the "data_variables" in main.py
  • "OR" Filter: Filters all the selected Values, by connecting them with a logical "OR". For example all red OR blue Objects. The selectable Options can be customized with the "data_variables" in main.py, and will show up with all unique values of that data column in the selection.
  • "AND" Filter: Filters all the selected Values, by connecting them with a logical "AND". For example all Objects, that are red AND blue. The selectable Options can be customized with the "data_variables" in main.py, and will show up with all unique values of that data column in the selection.
  • "Export Data" Button exports the current view as .npy and .mat file in the output folder. If "Export only selection" is enabled, only the data points currently on display will get exported (so for example all filtered data points won't be included). The export file can be sorted by any sortable column.

Hyperparameter Optimization

DrCELL Interface Hyperparameter Optimization Demo

PCA Preprocessing Tab

  • The data can be Preprocessed via PCA. The reduction of PCA ("n_components") can be adjusted here.
  • If you select "None" as Dimensionality Reduction, the PCA is restricted to 2-Dimensions.

Dimensional Reduction Parameters Tab

  • Here you can change the Dimensional Reduction Method, as well as their parameters

  • By default, these dimensional reduction methods are available:

    • None (uses PCA as Dimensional Reduction Method)
    • UMAP
    • t-SNE
    • PHATE
    • CEBRA (in development)

Cluster Parameters

  • "Update Cluster" Checkbox: When unchecking the box, the current clustering will be kept and not changed, when changing the parameters (does not include change of dataset). (in development)
  • Selection of other Cluster Algorithms (potential future feature)
  • HDBSCAN used as clustering algorithm
    • unclustered data points get assigned to -1

Cluster Selection Tab

  • Lets you isolate a single cluster visually. Selected via entry of an integer or the slider (currently not functional)

Toolbar

DrCELL Interface Toolbar and Hover Tool Demo

  • located on the right side of the plot
  • General Tools
    • Pan
    • Box Zoom
    • Wheel Zoom
    • Save Plot
    • Reset Plot Position
    • Help
  • Hover Tools
    • Data point hover tool
      • displays information of data point, when hovered over
      • the information shown, can be customized with the "display_hover_variables" variable in main.py
      • customized plot, based on data of data point (in development)
    • Grid hover tool
      • displays information about the quadrant and the data points in it, when hovered over it.
      • customized plot, based on data of data points in quadrant (in development)

Grid Settings

  • With this option you can enable a grid, separating your data points in quadrants, that can be hovered over with the hover tool and displays you additional information

Statistics

  • Some basic stats about the current selection

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drcell-0.0.1rc2.tar.gz (33.3 kB view details)

Uploaded Source

Built Distribution

drcell-0.0.1rc2-py3-none-any.whl (37.6 kB view details)

Uploaded Python 3

File details

Details for the file drcell-0.0.1rc2.tar.gz.

File metadata

  • Download URL: drcell-0.0.1rc2.tar.gz
  • Upload date:
  • Size: 33.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for drcell-0.0.1rc2.tar.gz
Algorithm Hash digest
SHA256 e70c680f6e0d609b84f2b218ecfe9e5b7b6e0b34bc488c18e87afa2e3ab0c1ad
MD5 bca7218a3b4870aa435ad10019aab500
BLAKE2b-256 8d9c21ddc6a16e96d83256cb8a4dfb80060eebc3ae2fdc739ca1ede6d757b294

See more details on using hashes here.

File details

Details for the file drcell-0.0.1rc2-py3-none-any.whl.

File metadata

  • Download URL: drcell-0.0.1rc2-py3-none-any.whl
  • Upload date:
  • Size: 37.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for drcell-0.0.1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 9e8b7e8871a45c16ae5565aa592590c5a4773c23b257b933f0c02a07de8be53c
MD5 439455dd2b35d1a64f878529067a6970
BLAKE2b-256 2bf3e0b301fbb76bda1c2fa1113072dede89a448c7b9338496457860acddd7e5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page