@datagrok/compute 1.7.2 → 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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datagrok/compute",
|
|
3
3
|
"friendlyName": "Compute",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.8.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Aufar Zakiev",
|
|
7
7
|
"email": "aufar.zakiev@softwarecountry.com"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"directory": "packages/Compute"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@datagrok-libraries/compute-utils": "^1.
|
|
16
|
+
"@datagrok-libraries/compute-utils": "^1.8.0",
|
|
17
17
|
"cash-dom": "latest",
|
|
18
18
|
"datagrok-api": "^1.14.0",
|
|
19
19
|
"dayjs": "latest",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//name: Lorenz Attractor
|
|
2
|
-
//tags:
|
|
2
|
+
//tags: model, demo
|
|
3
3
|
//meta.domain: Nonlinear dynamics
|
|
4
4
|
//description: Set of chaotic solutions of the system for weather prediction. It illustrates the phenomenon known as the Butterfly effect or (more technically) sensitive dependence on initial conditions
|
|
5
5
|
//language: javascript
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//name: Lotka-Volterra
|
|
2
|
-
//tags:
|
|
2
|
+
//tags: model
|
|
3
3
|
//meta.domain: Nonlinear dynamics
|
|
4
4
|
//description: Model describes the dynamics of biological systems in which two species interact, one as a predator and the other as prey.
|
|
5
5
|
//language: javascript
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
//input: double timeStart = 0
|
|
14
14
|
//input: double timeStop = 18
|
|
15
15
|
//output: dataframe df {viewer: Line Chart(x: "Time", multiAxis: "true", title: "Lotka-Volterra Model")}
|
|
16
|
+
//editor: Compute:RichFunctionViewEditor
|
|
16
17
|
//meta.runOnOpen: true
|
|
17
18
|
//meta.runOnInput: true
|
|
18
19
|
|
package/scripts/maximal-volume.R
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
#name: Vmax
|
|
2
|
+
#tags: model
|
|
2
3
|
#description: Predict the minimum filter size required for the separation of effluent from bioreactors, given the constraints of batch size and total batch time based on a training dataset of time vs filtrate volume for a given filter type, filter area and pressure
|
|
3
4
|
#language: r
|
|
4
5
|
#input: dataframe test_data {editor: Compute:manualOutlierSelectionDialog; editor-button: Outliers...}
|
|
@@ -21,6 +22,8 @@
|
|
|
21
22
|
#output: double expl_ss { category: Lin Reg Param }
|
|
22
23
|
#output: double ss_tot { category: Lin Reg Param }
|
|
23
24
|
#output: double amin { category: Recommendation }
|
|
25
|
+
#editor: Compute:RichFunctionViewEditor
|
|
26
|
+
#meta.runOnOpen: true
|
|
24
27
|
|
|
25
28
|
a <- as.data.frame(test_data)
|
|
26
29
|
a <- a[!a$isOutlier=='true',]
|
package/scripts/pkpd.R
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#name: pkpd
|
|
2
2
|
#language: r
|
|
3
|
+
#tags: model
|
|
3
4
|
#input: double dosage = 1000 {category: Dosing options}
|
|
4
5
|
#input: double doseInterval = 12 {category: Dosing options}
|
|
5
6
|
#input: string compartments {category: PK model; choices: ['2 compartment PK', '1 compartment PK']}
|
|
@@ -13,6 +14,7 @@
|
|
|
13
14
|
#output: graphics PKPD
|
|
14
15
|
#output: double Cmax {units: nM}
|
|
15
16
|
#meta.domain: PKPD
|
|
17
|
+
#editor: Compute:RichFunctionViewEditor
|
|
16
18
|
#meta.runOnOpen: true
|
|
17
19
|
#meta.runOnInput: true
|
|
18
20
|
|
package/scripts/pop-pk.R
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
#name: popPK
|
|
2
2
|
#language: r
|
|
3
|
+
#tags: model
|
|
3
4
|
#input: double dosage = 1000 {category: Dosing options}
|
|
4
5
|
#input: double doseInterval = 12 {category: Dosing options}
|
|
5
6
|
#input: string compartments {category: PK model; choices: ['2 compartment PK', '1 compartment PK']}
|
|
@@ -11,6 +12,7 @@
|
|
|
11
12
|
#input: double interRate = 1 {category: PK parameters} [intercompartmental rate]
|
|
12
13
|
#output: graphics popPK
|
|
13
14
|
#meta.domain: PKPD
|
|
15
|
+
#editor: Compute:RichFunctionViewEditor
|
|
14
16
|
|
|
15
17
|
require("ggplot2")
|
|
16
18
|
require("RxODE")
|