@datagrok/proteomics 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +18 -5
  3. package/dist/package-test.js +1 -1
  4. package/dist/package-test.js.map +1 -1
  5. package/dist/package.js +1 -1
  6. package/dist/package.js.map +1 -1
  7. package/docs/personas-and-capabilities.md +16 -0
  8. package/docs/publishing-design-rationale.md +140 -0
  9. package/package.json +20 -5
  10. package/package.png +0 -0
  11. package/src/analysis/imputation.ts +3 -1
  12. package/src/analysis/normalization.ts +9 -4
  13. package/src/analysis/spc-storage.ts +1 -1
  14. package/src/menu.ts +5 -2
  15. package/src/package-api.ts +10 -2
  16. package/src/package-test.ts +3 -1
  17. package/src/package.g.ts +17 -3
  18. package/src/package.ts +31 -15
  19. package/src/panels/published-analysis-panel.ts +2 -2
  20. package/src/publishing/assert-published-shape.ts +2 -2
  21. package/src/publishing/package-settings-editor.ts +125 -0
  22. package/src/publishing/publish-project.ts +8 -8
  23. package/src/publishing/publish-settings.ts +57 -3
  24. package/src/publishing/publish-state.ts +45 -16
  25. package/src/publishing/reviewer-groups.ts +24 -0
  26. package/src/publishing/share-dialog.ts +42 -27
  27. package/src/publishing/trim-dataframe.ts +8 -1
  28. package/src/tests/abundance-correlation.ts +135 -0
  29. package/src/tests/analysis.ts +63 -0
  30. package/src/tests/enrichment-visualization.ts +95 -9
  31. package/src/tests/enrichment.ts +2 -1
  32. package/src/tests/project-vocabulary.ts +39 -0
  33. package/src/tests/publish-roundtrip.ts +40 -40
  34. package/src/tests/publish-spike.ts +2 -2
  35. package/src/tests/rank-abundance.ts +85 -0
  36. package/src/utils/abundance-detection.ts +145 -0
  37. package/src/viewers/abundance-correlation.ts +208 -0
  38. package/src/viewers/enrichment-viewers.ts +58 -24
  39. package/src/viewers/rank-abundance.ts +153 -0
  40. package/src/viewers/volcano.ts +3 -0
  41. package/test-console-output-1.log +1145 -1090
  42. package/test-record-1.mp4 +0 -0
  43. package/src/tests/group-mean-correlation.ts +0 -139
  44. package/src/viewers/group-mean-correlation.ts +0 -218
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Proteomics changelog
2
2
 
3
+ ## 1.3.0 (2026-07-13)
4
+
5
+ - **Rank–Abundance (dynamic-range) viewer** — visualize the abundance dynamic range across the
6
+ experiment.
7
+ - **Abundance Correlation viewer** — the separate sample-correlation views are consolidated into
8
+ one viewer.
9
+ - **Share analyses by project** — publish a read-only analysis snapshot to a reviewer team under a
10
+ controlled, admin-maintained project vocabulary. The Share dialog pre-selects a default reviewer
11
+ team, and administrators add/edit/remove project names from package settings.
12
+ - **Enrichment ↔ volcano linked selection** — selecting one or more enrichment terms highlights the
13
+ union of their member proteins on the volcano.
14
+ - **Numerical robustness** — imputation and quantile normalization now guard against NaN/Infinity on
15
+ edge-case inputs (single-value columns, degenerate random draws).
16
+ - **Package icon** plus expanded documentation (publishing design rationale, the administrator role,
17
+ and projects/teams/package settings).
18
+
3
19
  ## 1.2.0
4
20
 
5
21
  - **Shared enrichment charts now survive reopen** — a published/shared analysis's enrichment
package/README.md CHANGED
@@ -129,11 +129,11 @@ statistics view, so the two never drift apart:
129
129
 
130
130
  ### Share
131
131
  - **Share Analysis for Review** — publish a trimmed, read-only snapshot (table + volcano +
132
- enrichment charts) to a reviewer group. The source table is never mutated; reviewer
133
- access is verified (and rolled back on an over-permissive grant); the snapshot is
134
- optionally re-opened and shape-checked to confirm it survives a reload; re-publishing
135
- supersedes the prior version. A **Shared Analysis** context panel surfaces the
136
- publication's audit trail.
132
+ enrichment charts) under a **project** (chosen from an admin-curated list) to a reviewer
133
+ **team**. The source table is never mutated; reviewer access is verified (and rolled back
134
+ on an over-permissive grant); the snapshot is optionally re-opened and shape-checked to
135
+ confirm it survives a reload; re-publishing supersedes the prior version. A **Shared
136
+ Analysis** context panel surfaces the publication's audit trail.
137
137
 
138
138
  ## Protein annotation
139
139
 
@@ -165,6 +165,19 @@ it hasn't seen — detectors match on column-name hints and validate sample valu
165
165
  require a configured Datagrok R compute environment; every R path has a client-side
166
166
  TypeScript fallback, so the package is fully functional without R.
167
167
 
168
+ ## Configuration
169
+
170
+ Package administrators set these in **Plugins → Proteomics → Settings** (a custom editor
171
+ replaces the default form). They gate and shape the Share flow:
172
+
173
+ | Setting | What it does |
174
+ |---------|--------------|
175
+ | **Project vocabulary** | Controlled list of project names an analyst can share under. **Required before anyone can share** — with none configured, the Share dialog blocks and asks for an admin. Add / rename / remove entries as editable rows. |
176
+ | **Default reviewer team** | Team pre-selected in the Share dialog's team picker; blank falls back to the first available team. |
177
+ | **Review space name** | Umbrella Space shared snapshots publish under; each project gets a child Space inside it. |
178
+ | **Review name prefix** | Prefix for published project names (`<prefix>-<project>-v<n>-<date>`); the suffix is fixed so re-share versioning keeps working. |
179
+ | **Verify published dashboard** | Re-open each snapshot after publishing to confirm it survives a reload (safer; off = faster demo shares). |
180
+
168
181
  ## Demo data
169
182
 
170
183
  Example datasets ship in `files/demo/` (see its `README.md`):