@datagrok/curves 1.4.0 → 1.4.2
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 +12 -0
- package/README.md +5 -2
- 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/package.json +2 -2
- package/src/fit/render-utils.ts +2 -1
- package/src/tests/fit-tests.ts +57 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Curves changelog
|
|
2
2
|
|
|
3
|
+
## 1.4.2 (2024-05-21)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* [#2855](https://github.com/datagrok-ai/public/issues/2855): Added outlier marker option
|
|
8
|
+
|
|
9
|
+
## 1.4.1 (2024-05-21)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* [#2797](https://github.com/datagrok-ai/public/issues/2797): Added log-linear fit function
|
|
14
|
+
|
|
3
15
|
## 1.4.0 (2024-05-11)
|
|
4
16
|
|
|
5
17
|
### Features
|
package/README.md
CHANGED
|
@@ -35,6 +35,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
35
35
|
"confidenceIntervalColor": "#fbec5d",
|
|
36
36
|
"outlierColor": "#d62728",
|
|
37
37
|
"markerType": "circle",
|
|
38
|
+
"outlierMarkerType": "outlier",
|
|
38
39
|
"lineStyle": "dashed",
|
|
39
40
|
"errorModel": "proportional",
|
|
40
41
|
"connectDots": false,
|
|
@@ -52,7 +53,7 @@ To render a fitted curve based on series points, you need to write it in the fol
|
|
|
52
53
|
"clickToToggle": true,
|
|
53
54
|
"droplines": ["IC50"],
|
|
54
55
|
"points": [
|
|
55
|
-
{ "x": 0.10000000149011612, "y": 0.04152340441942215, "stdev": 0.031523404876, "marker": "square" },
|
|
56
|
+
{ "x": 0.10000000149011612, "y": 0.04152340441942215, "stdev": 0.031523404876, "marker": "square", "outlierMarker": "square" },
|
|
56
57
|
{ "x": 0.6000000238418579, "y": 0.11901605129241943, "outlier": true, "outlierColor": "#ff7f0e" },
|
|
57
58
|
{ "x": 1.100000023841858, "y": 0.11143334954977036, "outlier": false, "color": "#2ca02c", "size": 5 },
|
|
58
59
|
// ...
|
|
@@ -85,12 +86,13 @@ Each series has its own parameters, such as:
|
|
|
85
86
|
- `confidenceIntervalColor` - overrides the standardized series confidence interval color
|
|
86
87
|
- `outlierColor` - overrides the standardized series outlier color
|
|
87
88
|
- `markerType` - defines the series marker type, which could be `circle`, `asterisk`, `square`, etc.
|
|
89
|
+
- `outlierMarkerType` - defines the series outlier marker type, which could be `circle`, `outlier`, `square`, etc.
|
|
88
90
|
- `lineStyle` - defines the series line style, which could be `solid`, `dotted`, `dashed` or `dashdotted`
|
|
89
91
|
- `errorModel` - defines the series error model, which could be either `constant`, `proportional` or `combined`
|
|
90
92
|
- `connectDots` - defines whether to connect the points with lines or not
|
|
91
93
|
- `showFitLine` - defines whether to show the fit line or not
|
|
92
94
|
- `showCurveConfidenceInterval` - defines whether to show the confidence intervals or not
|
|
93
|
-
- `fitFunction` - controls the series fit function, which could be either a sigmoid function or a
|
|
95
|
+
- `fitFunction` - controls the series fit function, which could be either a sigmoid, linear, log-linear function or a
|
|
94
96
|
[custom-defined function](/README.md#creating-custom-fit-function).
|
|
95
97
|
- `parameters` - controls the series parameters, if set explicitly - the fitting process won't be executed. The parameter order of the
|
|
96
98
|
sigmoid function is: `max, tan, IC50, min`.
|
|
@@ -102,6 +104,7 @@ sigmoid function is: `max, tan, IC50, min`.
|
|
|
102
104
|
- `outlier` - if true, renders as 'x' and gets ignored for curve fitting
|
|
103
105
|
- `color` - overrides the marker color defined in series `pointColor`
|
|
104
106
|
- `marker` - overrides the marker type defined in series `markerType`
|
|
107
|
+
- `outlierMarker` - overrides the outlier marker type defined in series `outlierMarkerType`
|
|
105
108
|
- `size` - overrides the default marker size
|
|
106
109
|
- `stdev` - when defined, renders an error bar candlestick
|
|
107
110
|
|