mirror of
https://github.com/msberends/AMR.git
synced 2026-03-16 02:47:52 +01:00
Built site for AMR@3.0.1.9022: 0311834
This commit is contained in:
@@ -197,7 +197,7 @@ as.mic("<=0.002; S")
|
||||
#> Class 'mic'
|
||||
#> [1] <=0.002
|
||||
|
||||
# mathematical processing treats MICs as numeric values
|
||||
# mathematical processing treats MICs as, and returns, numeric values
|
||||
fivenum(mic_data)
|
||||
#> [1] 0.128 1.000 8.000 16.000 32.000
|
||||
quantile(mic_data)
|
||||
@@ -211,6 +211,13 @@ rescale_mic(mic_data, mic_range = c(4, 16))
|
||||
#> Class 'mic'
|
||||
#> [1] >=16 <=4 <=4 <=4 8 <=4 8 >=16 >=16
|
||||
|
||||
# round up to nearest log2 level, e.g. for CLSI breakpoint interpretation:
|
||||
c(1:8)
|
||||
#> [1] 1 2 3 4 5 6 7 8
|
||||
as.mic(c(1:8), round_to_next_log2 = TRUE)
|
||||
#> Class 'mic'
|
||||
#> [1] 1 2 4 4 8 8 8 8
|
||||
|
||||
# interpret MIC values
|
||||
as.sir(
|
||||
x = as.mic(2),
|
||||
|
||||
Reference in New Issue
Block a user