# Ref strain QC MIC for GEN is 0.5
standardise_mic(
test_measurement = c(AMR::as.mic(">8.0"), # QC = 1, censored MIC remains censored
AMR::as.mic(4.0), # QC = 0.5 which is on target, so stays same
AMR::as.mic(2), # QC = 1, so scaled down to 1
AMR::as.mic(2)), # QC = 0.25, so scaled up to 8
qc_measurement = c(AMR::as.mic(1),
AMR::as.mic(0.5),
AMR::as.mic(1),
AMR::as.mic(0.25)),
strain = 25922,
ab = AMR::as.ab("GEN"))
Run the code above in your browser using DataLab