@datagrok/curves 1.2.14 → 1.2.16
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 +22 -0
- package/README.md +11 -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/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 +45 -7
- package/src/fit/multi-curve-viewer.ts +12 -0
- package/src/package.ts +75 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# Curves changelog
|
|
2
2
|
|
|
3
|
+
## 1.2.16 (2024-03-15)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* [#2105](https://github.com/datagrok-ai/public/issues/2105): Added outlier color property.
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Renamed "Show curve confidence intervals" to "Confidence intervals"
|
|
12
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Fixed statistics calculation
|
|
13
|
+
* [#2103](https://github.com/datagrok-ai/public/issues/2103): Made statistics columns adding functions DG functions
|
|
14
|
+
|
|
15
|
+
## 1.2.15 (2023-11-17)
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* [#2101](https://github.com/datagrok-ai/public/issues/2101): Added capability to substitute zeroes in curve fitting for logarithmic data
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* Fixed MultiCurveViewer throws an error when adding to an arbitrary dataset
|
|
24
|
+
|
|
3
25
|
## 1.2.14 (2023-11-10)
|
|
4
26
|
|
|
5
27
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -34,6 +34,7 @@ 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",
|
|
@@ -52,7 +53,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
52
53
|
"droplines": ["IC50"],
|
|
53
54
|
"points": [
|
|
54
55
|
{ "x": 0.10000000149011612, "y": 0.04152340441942215, "stdev": 0.031523404876, "marker": "square" },
|
|
55
|
-
{ "x": 0.6000000238418579, "y": 0.11901605129241943, "outlier": true },
|
|
56
|
+
{ "x": 0.6000000238418579, "y": 0.11901605129241943, "outlier": true, "outlierColor": "#ff7f0e" },
|
|
56
57
|
{ "x": 1.100000023841858, "y": 0.11143334954977036, "outlier": false, "color": "#2ca02c", "size": 5 },
|
|
57
58
|
// ...
|
|
58
59
|
]
|
|
@@ -69,6 +70,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
69
70
|
"yAxisName": "Activity",
|
|
70
71
|
"logX": true,
|
|
71
72
|
"logY": false,
|
|
73
|
+
"allowXZeroes": true,
|
|
72
74
|
}
|
|
73
75
|
}
|
|
74
76
|
```
|
|
@@ -79,6 +81,7 @@ Each series has its own parameters, such as:
|
|
|
79
81
|
- `pointColor` - overrides the standardized series point color
|
|
80
82
|
- `fitLineColor` - overrides the standardized series fit line color
|
|
81
83
|
- `confidenceIntervalColor` - overrides the standardized series confidence interval color
|
|
84
|
+
- `outlierColor` - overrides the standardized series outlier color
|
|
82
85
|
- `markerType` - defines the series marker type, which could be `circle`, `asterisk`, `square`, etc.
|
|
83
86
|
- `lineStyle` - defines the series line style, which could be `solid`, `dotted`, `dashed` or `dashdotted`
|
|
84
87
|
- `errorModel` - defines the series error model, which could be either `constant` or `proportional`
|
|
@@ -105,6 +108,7 @@ Each chart has its own parameters as well, such as:
|
|
|
105
108
|
- `title` - defines the plot title. If the plot size is enough, will render it
|
|
106
109
|
- `xAxisName`, `yAxisName` - defines the x and y axis names. If the plot size is enough, will render it
|
|
107
110
|
- `logX`, `logY` - defines whether the x and y data should be logarithmic or not
|
|
111
|
+
- `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
|
|
108
112
|
- `showStatistics` - defines the statistics that would be shown on the plot (such as the area under the curve
|
|
109
113
|
(`auc`) or the coefficient of determination (`rSquared`))
|
|
110
114
|
|
|
@@ -132,6 +136,12 @@ returns the result of the fit function. These functions are written as JavaScrip
|
|
|
132
136
|
|
|
133
137
|

|
|
134
138
|
|
|
139
|
+
## Multi Curve Viewer
|
|
140
|
+
|
|
141
|
+
You can overlay curves from multiple cells on one chart with the Multi Curve Viewer:
|
|
142
|
+
|
|
143
|
+

|
|
144
|
+
|
|
135
145
|
See also:
|
|
136
146
|
|
|
137
147
|
- [Packages](../../help/develop/develop.md#packages)
|