@datagrok/curves 1.5.0 → 1.8.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.
package/README.md CHANGED
@@ -1,7 +1,10 @@
1
1
  # Curves
2
2
 
3
- **Curves** provides support for fitted curves (such as dose-response curves),
4
- including in-grid rendering, storing charts in cells, interactivity, and automatic fitting.
3
+ **Curves** provides support for dose-response curves,
4
+ including charts in cells, interactivity, and automatic fitting.
5
+ Also, it integrates with assay plates, allowing you to
6
+ [read data directly from instruments](#plate-readers), and visualize
7
+ [dose-response curves from assay plates](#integration-with-assay-plates).
5
8
 
6
9
  - Fitting: computing parameters of the specified function to best fit the data
7
10
  - For dose-response curves, we are typically fitting the sigmoid function
@@ -21,11 +24,13 @@ including in-grid rendering, storing charts in cells, interactivity, and automat
21
24
  - Ability to overlay curves from multiple grid cells (special viewer)
22
25
  - Work with series stored in multiple formats (binary for performance, JSON for flexibility, etc.)
23
26
 
24
- ## Rendering fitted curves using JSON format
27
+ ## Data format
25
28
 
26
- To render a fitted curve based on series points, you need to write it in the following JSON format:
29
+ To render a fitted curve, the cell has to contain a string in the following JSON format:
27
30
 
28
- ```json
31
+ <details>
32
+ <summary> Example of the JSON chart cell </summary>
33
+ <pre>
29
34
  {
30
35
  "series": [
31
36
  {
@@ -76,7 +81,8 @@ To render a fitted curve based on series points, you need to write it in the fol
76
81
  "showColumnLabel": true
77
82
  }
78
83
  }
79
- ```
84
+ </pre>
85
+ </details>
80
86
 
81
87
  Each series has its own parameters, such as:
82
88
 
@@ -93,7 +99,7 @@ Each series has its own parameters, such as:
93
99
  - `showFitLine` - defines whether to show the fit line or not
94
100
  - `showCurveConfidenceInterval` - defines whether to show the confidence intervals or not
95
101
  - `fitFunction` - controls the series fit function, which could be either a sigmoid, linear, log-linear function or a
96
- [custom-defined function](/README.md#creating-custom-fit-function).
102
+ [custom-defined function](#creating-a-custom-fit-function).
97
103
  - `parameters` - controls the series parameters, if set explicitly - the fitting process won't be executed. The parameter order of the
98
104
  sigmoid function is: `max, tan, IC50, min`.
99
105
  - `parameterBounds` - defines the acceptable range of each parameter, which is taken into account during the fitting. See also `parameters`
@@ -146,10 +152,32 @@ returns the result of the fit function. These functions are written as JavaScrip
146
152
 
147
153
  ## Multi Curve Viewer
148
154
 
149
- You can overlay curves from multiple cells on one chart with the Multi Curve Viewer:
155
+ To compare dose-response curves from multiple cells, put them on the Multi Curve Viewer::
150
156
 
151
157
  ![](img/multi-curve-viewer.gif)
152
158
 
159
+ ## Integration with assay plates
160
+
161
+ For a number of commonly used formats representing assay plates, Curves automatically detects
162
+ layout, concentration, and activity layers, and shows you plate content in the form of automatically
163
+ fitted dose-response curves.
164
+
165
+ While typically such functionality gets integrated into custom apps (for instance, for doing
166
+ the quality control, registering experiments to ELN, etc), this is quite useful for
167
+ previewing plates. In this picture, excel files are recognized as containing assay plate data,
168
+ and we can see dose-response curves in the file preview.
169
+
170
+ ![](img/plate-dose-response-series.gif)
171
+
172
+ ## Plate readers
173
+
174
+ The package provides support for some of the common plate formats produced by instruments, such
175
+ as **BMG Pherastar**, **Delfia Envision**, and **Spectramax**. The detection / parsing mechanism
176
+ is extensible, so you can easily write your own reader - [see examples](src/plate/plate-reader.ts).
177
+
178
+
179
+ ![](img/plate-readers.gif)
180
+
153
181
  See also:
154
182
 
155
183
  - [Packages](../../help/develop/develop.md#packages)