@@ -243,21 +243,21 @@ make the structure of your data generally look like this:
-
2023-04-17
+
2023-04-18
abcd
Escherichia coli
S
S
-
2023-04-17
+
2023-04-18
abcd
Escherichia coli
S
R
-
2023-04-17
+
2023-04-18
efgh
Escherichia coli
R
@@ -962,110 +962,110 @@ antibiograms:
Cardial
-E. coli (443-443)
-
67
-
59
-
59
-
65
-
-
-
Respiratory
-
-E. coli (395-395)
-
65
+E. coli (400-400)
+
68
57
-
58
-
63
-
-
-
Rheumatic
-
-E. coli (412-412)
-
59
-
58
-
56
61
-
-
-
Cardial
-
-K. pneumoniae (108-108)
-
61
-
55
-
48
-
59
-
-
-
Respiratory
-
-K. pneumoniae (109-109)
-
62
-
51
-
64
-
62
-
-
-
Rheumatic
-
-K. pneumoniae (99-99)
-
66
-
52
65
-
59
-
-
-
Cardial
-
-S. aureus (230-230)
-
67
-
56
-
57
-
58
Respiratory
-S. aureus (227-227)
+E. coli (442-442)
+
62
60
56
-
59
-
67
+
62
Rheumatic
-S. aureus (204-204)
-
66
-
59
-
55
-
64
+E. coli (408-408)
+
62
+
58
+
57
+
62
Cardial
-S. pneumoniae (145-145)
-
63
+K. pneumoniae (114-114)
+
60
+
49
+
60
+
61
+
+
+
Respiratory
+
+K. pneumoniae (99-99)
+
64
+
56
+
59
+
58
+
+
+
Rheumatic
+
+K. pneumoniae (103-103)
+
66
+
53
58
61
+
+
+
Cardial
+
+S. aureus (246-246)
+
61
+
57
+
57
+
60
+
+
+
Respiratory
+
+S. aureus (213-213)
+
66
+
55
+
57
68
+
Rheumatic
+
+S. aureus (202-202)
+
68
+
57
+
58
+
61
+
+
+
Cardial
+
+S. pneumoniae (129-129)
+
60
+
54
+
61
+
67
+
+
Respiratory
-S. pneumoniae (123-123)
-
60
-
59
+S. pneumoniae (139-139)
+
64
+
63
+
58
63
-
60
Rheumatic
S. pneumoniae (131-131)
-
69
-
51
-
55
68
+
50
+
60
+
67
@@ -1090,45 +1090,45 @@ antibiograms:
Cardial
-
Gram-negative (551-551)
+
Gram-negative (514-514)
66
-
58
+
55
64
Respiratory
-
Gram-negative (504-504)
-
64
-
56
+
Gram-negative (541-541)
62
+
59
+
61
Rheumatic
Gram-negative (511-511)
-
60
+
63
57
-
60
+
61
Cardial
Gram-positive (375-375)
-
66
-
57
+
60
+
56
62
Respiratory
-
Gram-positive (350-350)
-
60
-
57
+
Gram-positive (352-352)
65
+
58
+
66
Rheumatic
-
Gram-positive (335-335)
-
67
-
56
-
66
+
Gram-positive (333-333)
+
68
+
55
+
64
@@ -1152,45 +1152,45 @@ antibiograms:
Cardial
-
Gram-negative (551-551)
+
Gram-negative (514-514)
66
-
77
-
77
+
78
+
78
Respiratory
-
Gram-negative (504-504)
-
64
-
77
-
74
+
Gram-negative (541-541)
+
62
+
75
+
72
Rheumatic
Gram-negative (511-511)
-
60
-
75
-
73
+
63
+
76
+
74
Cardial
Gram-positive (375-375)
-
66
-
79
-
77
-
-
-
Respiratory
-
Gram-positive (350-350)
60
75
73
+
+
Respiratory
+
Gram-positive (352-352)
+
65
+
80
+
77
+
Rheumatic
-
Gram-positive (335-335)
-
67
-
78
-
76
+
Gram-positive (333-333)
+
68
+
77
+
77
diff --git a/articles/AMR_files/figure-html/unnamed-chunk-13-1.png b/articles/AMR_files/figure-html/unnamed-chunk-13-1.png
index 41c5de3f..3ff97556 100644
Binary files a/articles/AMR_files/figure-html/unnamed-chunk-13-1.png and b/articles/AMR_files/figure-html/unnamed-chunk-13-1.png differ
diff --git a/articles/EUCAST.html b/articles/EUCAST.html
index bca48bb4..4b1d8537 100644
--- a/articles/EUCAST.html
+++ b/articles/EUCAST.html
@@ -38,7 +38,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/articles/MDR.html b/articles/MDR.html
index bc8f96ea..874aa91a 100644
--- a/articles/MDR.html
+++ b/articles/MDR.html
@@ -38,7 +38,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
@@ -385,18 +385,18 @@ names or codes, this would have worked exactly the same way:
head(my_TB_data)#> rifampicin isoniazid gatifloxacin ethambutol pyrazinamide moxifloxacin
-#> 1 R I S I S I
-#> 2 S R R R I R
-#> 3 R R I I S R
-#> 4 I R S I R R
-#> 5 R S S S R R
-#> 6 R S R R R R
+#> 1 R I S R S I
+#> 2 S S I S I I
+#> 3 R I I R I S
+#> 4 I S S R R I
+#> 5 S R R R R I
+#> 6 R S R I R R#> kanamycin#> 1 R
-#> 2 S
-#> 3 R
-#> 4 S
-#> 5 R
+#> 2 R
+#> 3 I
+#> 4 I
+#> 5 S#> 6 S
We can now add the interpretation of MDR-TB to our data set. You can
use:
@@ -877,21 +877,21 @@ inhibitors
clinical_breakpoints: Interpretation from MIC values
& disk diameters to SIR
-
A data set with 17 918 rows and 11 columns, containing the following
+
A data set with 18 271 rows and 11 columns, containing the following
column names: guideline, method, site, mo,
rank_index, ab, ref_tbl, disk_dose,
breakpoint_S, breakpoint_R, and uti.
This data set is in R available as clinical_breakpoints,
after you load the AMR package.
-
It was last updated on 14 April 2023 21:14:34 UTC. Find more info
+
It was last updated on 18 April 2023 22:31:31 UTC. Find more info
about the structure of this data set here.
@@ -508,10 +508,14 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
as.sir(df)#> => Interpreting MIC values of column 'AMP' (ampicillin) according to EUCAST#> 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of column 'CIP' (ciprofloxacin) according to#> EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of column 'GEN' (gentamicin) according#> to EUCAST 2022...#> Note:
@@ -527,23 +531,23 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> => Assigning class 'sir' to already clean column 'ERY' (erythromycin)...#> OK.#> microorganism AMP CIP GEN TOB ERY
-#> 1 Escherichia coli S I S S R
+#> 1 Escherichia coli I I S S R# return a 'logbook' about the results:sir_interpretation_history()#># A tibble: 50 × 12
-#> datetime index ab_input ab_guideline mo_input mo_guideline
-#><dttm><int><chr><ab><chr><mo>
-#> 1 2023-04-17 09:34:07 1 TOB TOB Escherichia… B_[ORD]_ENTRBCTR
-#> 2 2023-04-17 09:34:06 1 GEN GEN Escherichia… B_[ORD]_ENTRBCTR
-#> 3 2023-04-17 09:34:06 1 CIP CIP Escherichia… B_[ORD]_ENTRBCTR
-#> 4 2023-04-17 09:34:05 1 AMP AMP Escherichia… B_[ORD]_ENTRBCTR
-#> 5 2023-04-17 09:33:59 1 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
-#> 6 2023-04-17 09:33:59 2 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
-#> 7 2023-04-17 09:33:59 3 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
-#> 8 2023-04-17 09:33:59 4 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
-#> 9 2023-04-17 09:33:59 5 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
-#>10 2023-04-17 09:33:59 6 CIP CIP B_ESCHR_COLI B_[ORD]_ENTRBCTR
+#> datetime index ab_input ab_guideline mo_input mo_guideline
+#><dttm><int><chr><ab><chr><mo>
+#> 1 2023-04-18 22:40:53 1 TOB TOB Escherich… B_[ORD]_ENTRBCTR
+#> 2 2023-04-18 22:40:53 1 GEN GEN Escherich… B_[ORD]_ENTRBCTR
+#> 3 2023-04-18 22:40:52 1 CIP CIP Escherich… UNKNOWN
+#> 4 2023-04-18 22:40:52 1 AMP AMP Escherich… UNKNOWN
+#> 5 2023-04-18 22:40:45 1 CIP CIP B_ESCHR_C… UNKNOWN
+#> 6 2023-04-18 22:40:45 2 CIP CIP B_ESCHR_C… UNKNOWN
+#> 7 2023-04-18 22:40:45 3 CIP CIP B_ESCHR_C… UNKNOWN
+#> 8 2023-04-18 22:40:45 4 CIP CIP B_ESCHR_C… UNKNOWN
+#> 9 2023-04-18 22:40:45 5 CIP CIP B_ESCHR_C… UNKNOWN
+#>10 2023-04-18 22:40:45 6 CIP CIP B_ESCHR_C… UNKNOWN #># ℹ 40 more rows#># ℹ 6 more variables: guideline <chr>, ref_table <chr>, method <chr>,#># input <dbl>, outcome <sir>, breakpoint_S_R <chr>
@@ -558,10 +562,12 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> => Interpreting MIC values of 'AMP' (ampicillin) according to EUCAST#> 2022...#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> • Multiple breakpoints available for ampicillin (AMP) in Streptococcus
-#> pneumoniae - assuming body site 'Non-meningitis'.
+#> pneumoniae - assuming an unspecified body site.#> Class 'sir'
-#> [1] R
+#> [1] Sas.sir( x =as.disk(18),
@@ -607,16 +613,24 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
}#> => Interpreting MIC values of 'AMP' (ampicillin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'AMP' (ampicillin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column#> 'microorganism' according to EUCAST 2022...#> Note:
@@ -631,16 +645,24 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> isolates are from urine. See ?as.sir.#> => Interpreting MIC values of 'AMP' (ampicillin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'AMP' (ampicillin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column#> 'microorganism' according to EUCAST 2022...#> Note:
@@ -655,10 +677,14 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> isolates are from urine. See ?as.sir.#> => Interpreting MIC values of 'AMP' (ampicillin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) based on column#> 'microorganism' according to EUCAST 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of 'GEN' (gentamicin) based on column#> 'microorganism' according to EUCAST 2022...#> Note:
@@ -673,10 +699,14 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> isolates are from urine. See ?as.sir.#> => Interpreting MIC values of 'AMP' (ampicillin) according to EUCAST#> 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) according to EUCAST#> 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of 'GEN' (gentamicin) according to#> EUCAST 2022...#> Note:
@@ -706,10 +736,14 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> * WARNING *#> => Interpreting MIC values of 'AMP' (ampicillin) according to EUCAST#> 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting MIC values of 'CIP' (ciprofloxacin) according to EUCAST#> 2022...
-#> OK.
+#> Note:
+#> • (Some) PK/PD breakpoints were applied - use include_PKPD = FALSE to
+#> prevent this#> => Interpreting disk diffusion zones of 'GEN' (gentamicin) according to#> EUCAST 2022...#> OK.
@@ -717,7 +751,7 @@ A microorganism is categorised as "Resistant" when there is a high likelihood of
#> EUCAST 2022...#> OK.#> microorganism AMP CIP GEN TOB ERY
-#> 1 Escherichia coli S I S S R
+#> 1 Escherichia coli I I S S R# For CLEANING existing SIR values ------------------------------------
diff --git a/reference/atc_online.html b/reference/atc_online.html
index 4474626b..709d7b44 100644
--- a/reference/atc_online.html
+++ b/reference/atc_online.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/reference/av_from_text.html b/reference/av_from_text.html
index 878e8eab..c2cc9941 100644
--- a/reference/av_from_text.html
+++ b/reference/av_from_text.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/reference/av_property.html b/reference/av_property.html
index 98d7bb2b..228fb03c 100644
--- a/reference/av_property.html
+++ b/reference/av_property.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/reference/availability.html b/reference/availability.html
index 35551e6a..0b90678a 100644
--- a/reference/availability.html
+++ b/reference/availability.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/reference/bug_drug_combinations.html b/reference/bug_drug_combinations.html
index 673d4c48..1f1459e7 100644
--- a/reference/bug_drug_combinations.html
+++ b/reference/bug_drug_combinations.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
diff --git a/reference/clinical_breakpoints.html b/reference/clinical_breakpoints.html
index d5d80a6c..ef35fe6f 100644
--- a/reference/clinical_breakpoints.html
+++ b/reference/clinical_breakpoints.html
@@ -10,7 +10,7 @@
AMR (for R)
- 2.0.0.9009
+ 2.0.0.9011
@@ -153,7 +153,7 @@
Format
-
A tibble with 17 918 observations and 11 variables:
guideline Name of the guideline
+
A tibble with 18 271 observations and 11 variables:
clinical_breakpoints
-#># A tibble: 17,918 × 11
+#># A tibble: 18,271 × 11#> guideline method site mo rank_index ab ref_tbl disk_dose#><chr><chr><chr><mo><dbl><ab><chr><chr>#> 1 EUCAST 2022 MIC NA F_ASPRG_MGTS 2 AMB Aspergil… NA
@@ -191,7 +191,7 @@
#> 8 EUCAST 2022 MIC NA F_CANDD_TRPC 2 AMB Candida NA#> 9 EUCAST 2022 MIC NA F_CRYPT_NFRM 2 AMB Candida NA#>10 EUCAST 2022 DISK NA B_[ORD]_ENTRBCTR 5 AMC Enteroba… 20ug/10ug
-#># ℹ 17,908 more rows
+#># ℹ 18,261 more rows#># ℹ 3 more variables: breakpoint_S <dbl>, breakpoint_R <dbl>, uti <lgl>