@datagrok/curves 1.2.15 → 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.
- package/CHANGELOG.md +38 -1
- package/README.md +15 -1
- package/dist/package-test.js +1 -1
- package/dist/package-test.js.map +1 -1
- package/dist/package.js +1 -1
- package/dist/package.js.map +1 -1
- package/icons/multi-curve-viewer.png +0 -0
- package/img/multi-curve-viewer.gif +0 -0
- package/package.json +6 -6
- package/src/fit/fit-grid-cell-handler.ts +30 -64
- package/src/fit/fit-renderer.ts +184 -48
- package/src/fit/multi-curve-viewer.ts +53 -14
- package/src/package.ts +76 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,42 @@
|
|
|
1
1
|
# Curves changelog
|
|
2
2
|
|
|
3
|
+
## 1.3.0 (2024-04-18)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Improve curves properties and rendering:
|
|
8
|
+
* Added tooltips on points
|
|
9
|
+
* Added icon to MultiCurveViewer
|
|
10
|
+
* Added mergeSeries property and method
|
|
11
|
+
* Added legend rendering with column labels
|
|
12
|
+
* [#2754](https://github.com/datagrok-ai/public/issues/2754): Implemented capability just to connect the points (without fitting)
|
|
13
|
+
* [#1645](https://github.com/datagrok-ai/public/issues/1645): MultiCurveViewer:
|
|
14
|
+
* Added columns selection
|
|
15
|
+
* Added column series merging
|
|
16
|
+
* Added colors and fixed error messages
|
|
17
|
+
* Added curves limit and fixed showColumnLabel
|
|
18
|
+
* Turned off droplines and confidence intervals
|
|
19
|
+
* Made same fit line style in case of 20+ curves
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* [#2748](https://github.com/datagrok-ai/public/issues/2748):
|
|
24
|
+
* Fixed whole table is broken if cell with curves contains specific data
|
|
25
|
+
* Added red cross if the curve is broken
|
|
26
|
+
* Added error text
|
|
27
|
+
|
|
28
|
+
## 1.2.16 (2024-03-15)
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* [#2105](https://github.com/datagrok-ai/public/issues/2105): Added outlier color property.
|
|
33
|
+
|
|
34
|
+
### Bug Fixes
|
|
35
|
+
|
|
36
|
+
* Renamed "Show curve confidence intervals" to "Confidence intervals"
|
|
37
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Fixed statistics calculation
|
|
38
|
+
* [#2103](https://github.com/datagrok-ai/public/issues/2103): Made statistics columns adding functions DG functions
|
|
39
|
+
|
|
3
40
|
## 1.2.15 (2023-11-17)
|
|
4
41
|
|
|
5
42
|
### Features
|
|
@@ -8,7 +45,7 @@
|
|
|
8
45
|
|
|
9
46
|
### Bug Fixes
|
|
10
47
|
|
|
11
|
-
* Fixed MultiCurveViewer throws an
|
|
48
|
+
* Fixed MultiCurveViewer throws an error when adding to an arbitrary dataset
|
|
12
49
|
|
|
13
50
|
## 1.2.14 (2023-11-10)
|
|
14
51
|
|
package/README.md
CHANGED
|
@@ -34,9 +34,11 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
34
34
|
"pointColor": "#2ca02c",
|
|
35
35
|
"fitLineColor": "#2ca02c",
|
|
36
36
|
"confidenceIntervalColor": "#fbec5d",
|
|
37
|
+
"outlierColor": "#d62728",
|
|
37
38
|
"markerType": "circle",
|
|
38
39
|
"lineStyle": "dashed",
|
|
39
40
|
"errorModel": "proportional",
|
|
41
|
+
"connectDots": false,
|
|
40
42
|
"showFitLine": true,
|
|
41
43
|
"showCurveConfidenceInterval": true,
|
|
42
44
|
"fitFunction": "sigmoid",
|
|
@@ -52,7 +54,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
52
54
|
"droplines": ["IC50"],
|
|
53
55
|
"points": [
|
|
54
56
|
{ "x": 0.10000000149011612, "y": 0.04152340441942215, "stdev": 0.031523404876, "marker": "square" },
|
|
55
|
-
{ "x": 0.6000000238418579, "y": 0.11901605129241943, "outlier": true },
|
|
57
|
+
{ "x": 0.6000000238418579, "y": 0.11901605129241943, "outlier": true, "outlierColor": "#ff7f0e" },
|
|
56
58
|
{ "x": 1.100000023841858, "y": 0.11143334954977036, "outlier": false, "color": "#2ca02c", "size": 5 },
|
|
57
59
|
// ...
|
|
58
60
|
]
|
|
@@ -70,6 +72,8 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
70
72
|
"logX": true,
|
|
71
73
|
"logY": false,
|
|
72
74
|
"allowXZeroes": true,
|
|
75
|
+
"mergeSeries": false,
|
|
76
|
+
"showColumnLabel": true
|
|
73
77
|
}
|
|
74
78
|
}
|
|
75
79
|
```
|
|
@@ -80,9 +84,11 @@ Each series has its own parameters, such as:
|
|
|
80
84
|
- `pointColor` - overrides the standardized series point color
|
|
81
85
|
- `fitLineColor` - overrides the standardized series fit line color
|
|
82
86
|
- `confidenceIntervalColor` - overrides the standardized series confidence interval color
|
|
87
|
+
- `outlierColor` - overrides the standardized series outlier color
|
|
83
88
|
- `markerType` - defines the series marker type, which could be `circle`, `asterisk`, `square`, etc.
|
|
84
89
|
- `lineStyle` - defines the series line style, which could be `solid`, `dotted`, `dashed` or `dashdotted`
|
|
85
90
|
- `errorModel` - defines the series error model, which could be either `constant` or `proportional`
|
|
91
|
+
- `connectDots` - defines whether to connect the points with lines or not
|
|
86
92
|
- `showFitLine` - defines whether to show the fit line or not
|
|
87
93
|
- `showCurveConfidenceInterval` - defines whether to show the confidence intervals or not
|
|
88
94
|
- `fitFunction` - controls the series fit function, which could be either a sigmoid function or a
|
|
@@ -107,6 +113,8 @@ Each chart has its own parameters as well, such as:
|
|
|
107
113
|
- `xAxisName`, `yAxisName` - defines the x and y axis names. If the plot size is enough, will render it
|
|
108
114
|
- `logX`, `logY` - defines whether the x and y data should be logarithmic or not
|
|
109
115
|
- `allowXZeroes` - defines whether x zeroes allowed for logarithmic data or not. If the flag is true, it will calculate the approximate log(0) that will fit the chart
|
|
116
|
+
- `mergeSeries` - defines whether to merge series or not
|
|
117
|
+
- `showColumnLabel` - defines whether to show the column label in the legend or not
|
|
110
118
|
- `showStatistics` - defines the statistics that would be shown on the plot (such as the area under the curve
|
|
111
119
|
(`auc`) or the coefficient of determination (`rSquared`))
|
|
112
120
|
|
|
@@ -134,6 +142,12 @@ returns the result of the fit function. These functions are written as JavaScrip
|
|
|
134
142
|
|
|
135
143
|

|
|
136
144
|
|
|
145
|
+
## Multi Curve Viewer
|
|
146
|
+
|
|
147
|
+
You can overlay curves from multiple cells on one chart with the Multi Curve Viewer:
|
|
148
|
+
|
|
149
|
+

|
|
150
|
+
|
|
137
151
|
See also:
|
|
138
152
|
|
|
139
153
|
- [Packages](../../help/develop/develop.md#packages)
|