Orange Data Mining widgets for plate-image assays: microplate & coffee-ring readers and 3PL/4PL dose-response curve fitting (EC50, LOD).
Project description
orange-assay — plate-image & dose-response widgets for Orange Data Mining
English | 中文
Three Orange Data Mining widgets that turn assay plate photos into tables and fit dose-response curves — without writing code. The image core reuses the coffee-ring-analyzer algorithm, so results match its Streamlit / mobile / CLI versions. Sibling package to orange-spectra.
| Widget | What it does |
|---|---|
| Microplate Reader | Read a microtitre-plate photo (6–384 wells) into a per-well table: mean intensity, or thresholded count / intensity, with well labels (A1…H12). |
| Coffee-Ring Reader | Quantify a spotted-assay (coffee-ring) plate: per-cell area/intensity over a grid, blank-column (col 0) normalization and replicate averaging → a concentration / ratio table. |
| Dose-Response Fit | Fit a 3- or 4-parameter logistic curve to any concentration + signal table and report EC50, LOD and R², with the fitted curve overlaid on the points. |
The outputs are ordinary Orange Tables, so they plug straight into Data
Table, scatter plots, PCA, or the classification widgets — e.g. the
Dose-Response Fit widget accepts either reader's output, or any colorimetric
assay you already have in a spreadsheet.
Pipeline
Microplate Reader ─wells──┐
├──► Dose-Response Fit ──► EC50 / LOD / curve
Coffee-Ring Reader ─cells─┘ (also: PCA · PLS-DA · Data Table)
Install
Works on Windows, macOS (Apple Silicon & Intel), and Linux — pure Python (numpy / scipy / matplotlib / Pillow / Orange3).
A. Desktop App (from orangedatamining.com):
Options ▸ Add-ons… ▸ Add more…, type orange-assay, tick it, OK,
restart.
B. pip Orange:
pip install orange-assay
python -m Orange.canvas
After restarting Orange, an Assay category with the three widgets appears in the toolbox. Each widget has an ℹ How to use box, and F1 opens its online help page.
Traditional-Chinese Windows note: if the Add-ons dialog crashes with
UnicodeDecodeError: 'cp950' codec…, install from a command prompt instead:"…\Programs\Orange\python.exe" -m pip install orange-assay, then restart Orange (or set thePYTHONUTF8=1environment variable).
Quick start
- Microplate Reader → choose a plate photo → pick the format (e.g. 96) → Wells output → Data Table.
- Or Coffee-Ring Reader → choose a spotted-plate photo → set rows × columns (column 0 = blank) → enter the concentrations → Cells output.
- Feed either output to Dose-Response Fit → pick the concentration and signal columns → read EC50 / LOD / R² and the fitted curve.
Tests
python tests/test_core.py # pure logic
QT_QPA_PLATFORM=offscreen python tests/test_widgets.py # widget smoke tests
License
MIT.
orange-assay — Orange Data Mining 盤面影像與劑量反應 widgets
English | 中文
三個 Orange Data Mining widgets,把檢測盤照片 變成資料表並擬合劑量反應曲線——全程拖拉、免寫程式。影像核心重用 coffee-ring-analyzer 的演算法,結果與其 Streamlit/手機/CLI 版本一致。與 orange-spectra 為姊妹套件。
| Widget | 功能 |
|---|---|
| Microplate Reader | 讀微孔盤照片(6–384 孔)成每孔一列的表:平均亮度,或閾值面積/強度,附孔位標籤(A1…H12)。 |
| Coffee-Ring Reader | 量化點樣(咖啡環)盤:格點逐格取面積/強度、除以同列 blank(第 0 欄)、平均重複列 → 濃度/比值 表。 |
| Dose-Response Fit | 對任何 濃度+訊號 表擬合 3 或 4 參數邏輯曲線,回報 EC50、LOD、R²,並把擬合曲線疊在資料點上。 |
輸出都是一般的 Orange Table,可直接接 Data Table、散佈圖、PCA 或分類 widget;
Dose-Response Fit 接受兩個 reader 的輸出,也吃你已在試算表裡的比色法數據。
工作流程
Microplate Reader ─wells──┐
├──► Dose-Response Fit ──► EC50 / LOD / 曲線
Coffee-Ring Reader ─cells─┘ (也可接 PCA · PLS-DA · Data Table)
安裝
可在 Windows、macOS(Apple 晶片與 Intel)、Linux 執行——純 Python (numpy / scipy / matplotlib / Pillow / Orange3)。
A. 桌面版 App:Options ▸ Add-ons… ▸ Add more… 輸入 orange-assay →
打勾 → OK → 重啟。
B. pip 版 Orange:
pip install orange-assay
python -m Orange.canvas
重啟後工具箱會出現 Assay 分類(3 個 widgets)。每個 widget 都有 「ℹ 說明」盒子,按 F1 會開線上說明頁。
繁體中文 Windows 注意: 若 Add-ons 對話框出現
UnicodeDecodeError: 'cp950' codec…崩潰,改用命令列安裝:"…\Programs\Orange\python.exe" -m pip install orange-assay,再重開 Orange (或設環境變數PYTHONUTF8=1)。
快速上手
- Microplate Reader → 選盤面照片 → 選規格(如 96)→ Wells 輸出 → Data Table。
- 或 Coffee-Ring Reader → 選點樣盤照片 → 設列×欄(第 0 欄=blank)→ 填濃度 → Cells 輸出。
- 任一輸出接 Dose-Response Fit → 選濃度與訊號欄 → 讀 EC50/LOD/R² 與曲線。
測試
python tests/test_core.py # 純邏輯
QT_QPA_PLATFORM=offscreen python tests/test_widgets.py # widget 煙霧測試
授權
MIT。
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file orange_assay-0.1.0.tar.gz.
File metadata
- Download URL: orange_assay-0.1.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
15da6326569cab7aea3952b793ca0cd008da87d513dbbcacc19af1aa43b14d74
|
|
| MD5 |
2f4a3de5cdef0ea9cfa8fe7803538bc8
|
|
| BLAKE2b-256 |
512e383df7629d6a800fb7f11317b7f5235b5a8a8fa4bc15032a0db4db571d71
|
Provenance
The following attestation bundles were made for orange_assay-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on Tai-ShengYeh/spectraview
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orange_assay-0.1.0.tar.gz -
Subject digest:
15da6326569cab7aea3952b793ca0cd008da87d513dbbcacc19af1aa43b14d74 - Sigstore transparency entry: 2081080521
- Sigstore integration time:
-
Permalink:
Tai-ShengYeh/spectraview@36979e717eaf9cbfa0b7c137725f86a82673d2d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Tai-ShengYeh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@36979e717eaf9cbfa0b7c137725f86a82673d2d6 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file orange_assay-0.1.0-py3-none-any.whl.
File metadata
- Download URL: orange_assay-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
870cccfe3680c5806c6ef0c096397f75640b6ccdec3cb70e784a7d86aef1eff3
|
|
| MD5 |
06fb13e21d7df43c00aab4c8e58aa416
|
|
| BLAKE2b-256 |
b0aead92488abad670891e31900777ea449857a621ba602dade5971e140807aa
|
Provenance
The following attestation bundles were made for orange_assay-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on Tai-ShengYeh/spectraview
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
orange_assay-0.1.0-py3-none-any.whl -
Subject digest:
870cccfe3680c5806c6ef0c096397f75640b6ccdec3cb70e784a7d86aef1eff3 - Sigstore transparency entry: 2081080607
- Sigstore integration time:
-
Permalink:
Tai-ShengYeh/spectraview@36979e717eaf9cbfa0b7c137725f86a82673d2d6 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Tai-ShengYeh
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@36979e717eaf9cbfa0b7c137725f86a82673d2d6 -
Trigger Event:
workflow_dispatch
-
Statement type: