Skip to content

Commit 98131d2

Browse files
authored
Merge pull request #129 from InsightRX/RXR-2907
RXR-2907: add new models for open access, fix misnamed fields
2 parents 8c109c0 + a172ddc commit 98131d2

10 files changed

Lines changed: 478 additions & 2 deletions

inst/models/pk_vanco_adane.json5

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"id": "pk_vanco_adane",
3+
"ode_code": "\
4+
dAdt[0] = -(CLi/Vi)*A[0] \
5+
dAdt[1] = A[0]/Vi ",
6+
"pk_code": "\
7+
BSA = pow(WT,0.425) * pow(HT,0.725) * 0.007184 \
8+
CLi = CL * (CRCL/7.5) * (1.73/BSA) + CL_HEMO \
9+
Vi = V * WT \
10+
",
11+
"n_comp": 2,
12+
"obs": { "cmt": 1, "scale": "V * WT" },
13+
"dose": { "cmt": 1, "bioav": [1] },
14+
"covariates": [ "WT", "HT", "CRCL", "CL_HEMO" ],
15+
"variables": ["CLi", "Vi", "BSA"],
16+
"parameters" : {
17+
"V": 0.51,
18+
"CL": 6.54
19+
},
20+
"fixed": [],
21+
"omega_matrix": [
22+
0.057121,
23+
0, 0.071289
24+
],
25+
"ruv": {
26+
"prop": [0.189],
27+
"add": [0.0001]
28+
},
29+
"misc": {
30+
"model_type": "1cmt_iv",
31+
"linearity": "linear",
32+
"timevarying_parameter": false,
33+
"init_parameter": true
34+
},
35+
"references": [
36+
{
37+
"ref": "Adane, E.D. et al. Pharmacotherapy. 2015",
38+
"url": "https://www.ncbi.nlm.nih.gov/pubmed/25644478"
39+
}
40+
],
41+
"comments": [
42+
"A negligible additive error was added to stabilize MAP Bayesian estimation."
43+
],
44+
"version": "0.2.14"
45+
}

inst/models/pk_vanco_brooks.json5

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"id": "pk_vanco_brooks",
3+
"description": "PK model for vancomycin in adults age 18-35 years",
4+
"ode_code": "\
5+
dAdt[0] = -(CLtot/Vi)*A[0] - (Qi/Vi)*A[0] + (Qi/V2i)*A[1] \
6+
dAdt[1] = +(Qi/Vi)*A[0] - (Qi/V2i)*A[1] \
7+
dAdt[2] = A[0]/Vi ",
8+
"pk_code": "\
9+
BMI = WT / pow((HT/100.0), 2.0) \
10+
if(SEX == 1) { \
11+
FFM = (9270.0 * WT) / (6680.0 + 216.0 * BMI) ;\
12+
} else { \
13+
FFM = (9270.0 * WT) / (8780.0 + 244.0 * BMI) ;\
14+
} \
15+
if(SEX == 0) { \
16+
A1 = -0.241 \
17+
K = 0.7 \
18+
FSEX = 1.012 \
19+
} else { \
20+
A1 = -0.302 \
21+
K = 0.9 \
22+
FSEX = 1.0 \
23+
} \
24+
if(CR >= K) { \
25+
A1 = -1.2 \
26+
} \
27+
CKDEPI = (142.0/16.66667) * pow(CR/K, A1) * pow(0.9938, AGE) * FSEX \
28+
BSA = pow(WT,0.425) * pow(HT,0.725) * 0.007184 \
29+
CRCL = CKDEPI * BSA / 1.73 \
30+
CLi = CL * pow(CRCL/6.0, 0.945165) * pow(FFM / 55.0, 0.27415) \
31+
CLtot = CLi + CL_HEMO \
32+
Vi = V * FFM / 55.0 \
33+
V2i = V2 * FFM / 55.0 \
34+
Qi = Q * pow(FFM / 55.0, 0.27415) \
35+
",
36+
"n_comp": 3,
37+
"obs": { "cmt": 1, "scale": "Vi" },
38+
"dose": { "cmt": 1, "bioav": [1] },
39+
"covariates": ["WT", "AGE", "SEX", "CR", "HT", "CL_HEMO"],
40+
"variables": [
41+
"CLi", "Vi", "V2i", "Qi", "CLtot", "CRCL", "BSA",
42+
"FFM", "CKDEPI", "BMI", "A1", "K", "FSEX"
43+
],
44+
"parameters" : {
45+
"CL": 4.2622,
46+
"V": 40.7349,
47+
"V2": 48.7348,
48+
"Q": 2.9295
49+
},
50+
"fixed": ["Q"],
51+
"omega_matrix": [
52+
0.10504,
53+
0.0550392, 0.0648416,
54+
0, 0.068372, 0.882951
55+
],
56+
"ruv": {
57+
"prop": [0.160962],
58+
"add": [0.92]
59+
},
60+
"misc": {
61+
"model_type": "2cmt_iv",
62+
"linearity": "linear",
63+
"timevarying_parameter": false,
64+
"init_parameter": true,
65+
"int_step_size": 0.01
66+
},
67+
"references": [
68+
{
69+
"ref": "Brooks et al., in review, 2025"
70+
}
71+
],
72+
"version": "0.1.7"
73+
}

inst/models/pk_vanco_buelga.json5

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"id": "pk_vanco_buelga",
3+
"description": "PK model for vancomycin in adults with hematological malignancies",
4+
"ode_code": "\
5+
dAdt[0] = -(CLtot/Vi)*A[0];\n\
6+
dAdt[1] = A[0]/Vi;",
7+
"pk_code": "\n\
8+
CLi = CL*CRCL;\n\
9+
CLtot = CLi + TH_CVVH * CL_HEMO;\n\
10+
Vi = V * WT;\n\
11+
",
12+
"n_comp": 2,
13+
"obs": { "cmt": 1, "scale": "V * WT" },
14+
"dose": { "cmt": 1, "bioav": [1] },
15+
"parameters": {
16+
"CL": 1.08,
17+
"V": 0.98,
18+
"TH_CVVH": 1
19+
},
20+
"fixed": [
21+
"TH_CVVH"
22+
],
23+
"omega_matrix": [
24+
0.07929856,
25+
0.02418685, 0.1380123
26+
],
27+
"ruv": {
28+
"prop": [0],
29+
"add": [3.52]
30+
},
31+
"covariates": ["WT", "CRCL", "CL_HEMO"],
32+
"variables": ["CLi", "Vi", "CLtot"],
33+
"misc": {
34+
"model_type": "1cmt_iv",
35+
"linearity": "linear",
36+
"timevarying_parameter": false,
37+
"init_parameter": true
38+
},
39+
"references": [
40+
{
41+
"ref": "Buelga DS et al. Antimicrob Agents Chemother 2005",
42+
"url": "http://www.ncbi.nlm.nih.gov/pubmed/16304155"
43+
}
44+
],
45+
"comments": ["Assuming 25% correlation between CL and V."],
46+
"version": "0.2.16"
47+
}

inst/models/pk_vanco_carreno.json5

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"id": "pk_vanco_carreno",
3+
"description": "PK model for vancomycin in obese adults (110-250 kg)",
4+
"ode_code": "\
5+
CLi = SCLInter + SCLSlope * (CRCL*16.667) + CL_HEMO \
6+
Vi = V \
7+
Qi = K12 * Vi \
8+
V2i = Qi / K21 \
9+
dAdt[0] = -(CLi/V)*A[0] - K12*A[0] + K21*A[1] \
10+
dAdt[1] = K12*A[0] - K21*A[1] \
11+
dAdt[2] = A[0]/V ",
12+
"pk_code": "",
13+
"n_comp": 3,
14+
"obs": { "cmt": 1, "scale": "V" },
15+
"dose": { "cmt": 1, "bioav": [1] },
16+
"covariates": [ "CRCL", "CL_HEMO" ],
17+
"variables": ["CLi", "Qi", "Vi", "V2i"],
18+
"parameters" : {
19+
"V": 25.76,
20+
"SCLSlope": 0.036,
21+
"K12": 2.29,
22+
"K21": 1.44,
23+
"SCLInter" : 0.18
24+
},
25+
"fixed": [],
26+
"omega_matrix": [
27+
0.20559,
28+
0, 0.30864,
29+
0, 0, 1.11676,
30+
0, 0, 0, 1.4433,
31+
0, 0, 0, 0, 0.057068
32+
],
33+
"ruv": {
34+
"prop": [0.1],
35+
"add": [0.1]
36+
},
37+
"misc": {
38+
"model_type": "2cmt_iv",
39+
"linearity": "linear",
40+
"timevarying_parameter": false,
41+
"init_parameter": true,
42+
"int_step_size": 0.01
43+
},
44+
"references": [
45+
{
46+
"ref": "Carreno JJ et al. Antimicrob. Agents Chemother. 2017",
47+
"url": "https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5404576/"
48+
}
49+
],
50+
"comments": [
51+
"Described as Model 4 in this publication. BMI ranges and not weights should be considered for determining whether patient matches model development population."
52+
],
53+
"version": "0.2.18"
54+
}

inst/models/pk_vanco_goti.json5

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"id": "pk_vanco_goti",
3+
"description": "PK model for vancomycin in adults with or without hemodialysis",
4+
"ode_code": "\
5+
dAdt[0] = -(CLtot/Vi)*A[0] - (Q/Vi)*A[0] + (Q/V2)*A[1];\
6+
dAdt[1] = +(Q/Vi)*A[0] - (Q/V2)*A[1];\
7+
dAdt[2] = A[0]/Vi;",
8+
"pk_code": "\
9+
CRcalc = CR;\
10+
if(AGE > 65.0 & CR < 1.0) { CRcalc = 1.0; }\
11+
CRCLi = min((140.0 - AGE) * WT * pow(0.85, (1-SEX)) / (72.0 * CRcalc), 150.0); \
12+
CLi = CL * pow((CRCLi/120.0), TH_CRCL) * pow(TH_DIAL_CL, DIAL);\
13+
CLtot = CLi + CL_HEMO;\
14+
Vi = V * (WT/70.0) * pow(TH_DIAL_V, DIAL);\
15+
V2i = V2;\
16+
Qi = Q \
17+
",
18+
"n_comp": 3,
19+
"obs": { "cmt": 1, "scale": "V * (WT/70.0) * pow(TH_DIAL_V, DIAL)" },
20+
"dose": { "cmt": 1, "bioav": [1] },
21+
"covariates": ["WT", "SEX", "AGE", "CR", "DIAL", "CL_HEMO"],
22+
"variables": ["CLi", "Qi", "Vi", "V2i", "CRCLi", "CLtot", "CRcalc"],
23+
"parameters" : {
24+
"CL": 4.5,
25+
"V": 58.4,
26+
"V2": 38.4,
27+
"Q": 6.5,
28+
"TH_CRCL": 0.8,
29+
"TH_DIAL_CL": 0.7,
30+
"TH_DIAL_V": 0.5
31+
},
32+
"fixed": [
33+
"Q",
34+
"TH_CRCL",
35+
"TH_DIAL_CL",
36+
"TH_DIAL_V"
37+
],
38+
"omega_matrix": [
39+
0.1584,
40+
0, 0.6659,
41+
0, 0, 0.326
42+
],
43+
"ruv": {
44+
"prop": [0.197],
45+
"add": [1.42]
46+
},
47+
"misc": {
48+
"model_type": "2cmt_iv",
49+
"linearity": "linear",
50+
"timevarying_parameter": false,
51+
"init_parameter": true
52+
},
53+
"references": [
54+
{
55+
"ref": "Goti V et al. TDM 2018",
56+
"url": "https://www.ncbi.nlm.nih.gov/pubmed/?term=29470227"
57+
},
58+
{
59+
"ref": "Goti V et al. TDM 2018, erratum",
60+
"url": "https://www.ncbi.nlm.nih.gov/pubmed/31306395"
61+
}
62+
],
63+
"comments": [
64+
"The residual error magnitude was reduced from 22.7% proportional + 3.4 mg/L additive to 19.7% proportional and 1.42 mg/L additive (the average of Thomson and Colin models) to be more realistic and in line with other models, and to improve MAP estimation stability.",
65+
"The original Goti publication mentions that the following rule was applied: when AGE>60 & CR<1 then CRcalc=1, erratum says when AGE>65 & CR<1 then CRcalc=1. The latter is applied here."
66+
],
67+
"version": "0.2.31"
68+
}

inst/models/pk_vanco_hughes.json5

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"id": "pk_vanco_hughes",
3+
"description": "PK model for vancomycin in obese adults",
4+
"ode_code": "\
5+
dAdt[0] = -(CLtot/Vi)*A[0] - (Q/Vi)*A[0] + (Q/V2i)*A[1] \
6+
dAdt[1] = +(Q/Vi)*A[0] - (Q/V2i)*A[1] \
7+
dAdt[2] = A[0]/Vi ",
8+
"pk_code": "\
9+
BMI = WT / pow((HT/100.0), 2.0) \
10+
if(SEX == 1) { \
11+
FFM = (9270.0 * WT) / (6680.0 + 216.0 * BMI) ;\
12+
} else { \
13+
FFM = (9270.0 * WT) / (8780.0 + 244.0 * BMI) ;\
14+
} \
15+
CRCL = (140.0 - AGE) * FFM * pow(0.85, 1-SEX) / (72.0 * CR) \
16+
CLi = CL * pow(CRCL/100.0, 0.8509) \
17+
CLtot = CLi + CL_HEMO \
18+
Vi = V * FFM / 70.0 \
19+
V2i = V2 * FFM / 70.0 \
20+
",
21+
"n_comp": 3,
22+
"obs": { "cmt": 1, "scale": "Vi" },
23+
"dose": { "cmt": 1, "bioav": [1] },
24+
"covariates": ["WT", "AGE", "SEX", "CR", "HT", "CL_HEMO"],
25+
"variables": ["CLi", "Vi", "V2i", "CLtot", "FFM", "CRCL", "BMI"],
26+
"parameters" : {
27+
"CL": 5.0627,
28+
"V": 64.339,
29+
"V2": 59.019,
30+
"Q": 6.2402
31+
},
32+
"fixed": ["Q"],
33+
"omega_matrix": [
34+
0.0473154,
35+
0.00271032, 0.0322236,
36+
0.0132618, 0.138593, 0.634656
37+
],
38+
"ruv": {
39+
"prop": [0.1334],
40+
"add": [0.001]
41+
},
42+
"misc": {
43+
"model_type": "2cmt_iv",
44+
"linearity": "linear",
45+
"timevarying_parameter": false,
46+
"init_parameter": true,
47+
"int_step_size": 0.01
48+
},
49+
"references": [
50+
{
51+
"ref": "Hughes, M.S.A. et al., TDM (2024)",
52+
"url": "https://pubmed.ncbi.nlm.nih.gov/38758633/"
53+
}
54+
],
55+
"version": "0.1.8"
56+
}

0 commit comments

Comments
 (0)