Comments (12)
Thanks for all the info, greatly helps!!
from amr.
The interpretation was much slower this time but no errors and only notes for the specific meningitis sites (which doesn't effect my data set)
And for the MIC plots (#119) it looks great - the gentamicin is grey and the tobramycin has interpreted according to "pseudo"
Thanks heaps for the quick replies and fixes!
from amr.
Hi Anita,
Oops, that’s indeed unintended! I’ll look into it. Thanks for sharing!
from amr.
Hi Matthijs
Update, was having a play around with the code and tried out "uti = NULL" in my above as.sir transformation code, and for some antibiotics it gives the warning
"Breakpoints for UTI and non-UTI available for tobramycin (TOB) in Serratia ureilytica - assuming non-UTI.
Use argument uti to set which isolates are from urine. See ?as.sir"
These abx are: CRO, CXM, FOS, GEN, and TOB
Where as others continue to give the same warning as mentioned above.
Those abx are: CIP, CZO, LVX, LEX, MEC, NIT, NOR, and TMP
Thought I'd mention this as maybe there's a difference in the coding for these abx
from amr.
UTI were not considered well, I also fixed this. Will be on GitHub today somewhere!
from amr.
The development version nows contains the fix to this issue. You can try the latest version using:
install.packages("remotes") # if you haven't already
remotes::install_github("msberends/AMR")
from amr.
Hi Matthijs
Wow, so much faster!
Slightly major problem - none of my Enterobacterales are converting to SIRs but instead just throwing NAs. And this isn't just those that have UTI site descriptions, I mean all of them. Everything is now NA.
Also some of the Staphs are broken -the only ones that worked are clindamycin, gentamicin, penicillin and teicoplanin
Sorry to be the bearer of bad news
from amr.
Oh no! I’ll try to fix this today, so you can make your annual report in time :)
It’s 6:52 AM in the Netherlands now, so I’m hopping on the train in a moment and will check this morning.
from amr.
I could reproduce the problem:
as.sir(random_mic(10), ab = "gent", mo = "E. coli", guideline = "EUCAST 2022", include_PKPD = FALSE)
#> Interpreting MIC values: 'gent' (GEN, gentamicin), EUCAST 2022... OK
#> Class 'sir'
#> [1] <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA> <NA>
as.sir(random_mic(10), ab = "gent", mo = "Enterobacterales", guideline = "EUCAST 2022", include_PKPD = FALSE)
#> Interpreting MIC values: 'gent' (GEN, gentamicin), EUCAST 2022... NOTE
#> • Breakpoints for UTI and non-UTI available for gentamicin
#> (GEN) in Enterobacterales - assuming an unspecified body
#> site. Use argument uti to set which isolates are from
#> urine. See ?as.sir.
#> Class 'sir'
#> [1] R R R R S R S S S S
So the breakpoints work, but E. coli is not understood as a species within the order of Enterobacterales. I think this is a small error, I’m working on it today.
from amr.
I've also got uti = F in my codes
I'm not using "Enterobacterales" as the organism, I'm using the 'mo' chr codes
from amr.
Yes, I would expect that, and it should work. I just proved to myself that the clinical breakpoint itself (which is for all Enterobacterales) is working, but not for its lower taxonomy, such as E. coli. Normally, all lower species must take this breakpoint, but that last part is broken.
Sorry for the inconvenience!
from amr.
I found and fixed the error, it was a silly mistake. It checked the microorganisms data set for the wrong column to look up taxonomic properties. Should be fixed now!
Please check it again with your data, also the plot in #119 (which was caused by the same silliness).
from amr.
Related Issues (20)
- AMR for R as a One Health approach
- Implement mathematically sound WISCA algorithm
- Update `microorganisms` data set to latest taxonomy HOT 9
- Add new logo for this AMR package to catch One Health approach
- Incorporate EUCAST 13 and 14 HOT 7
- To-do list for AMR v3.0.0
- CLSI 2024 Veterinary Breakpoints HOT 8
- uti argument in as.sir not working as expected HOT 10
- Veterinary breakpoint substitutions incorrect HOT 4
- MIssing/extra veterinary breakpoints HOT 2
- Need Update Some Microorganisms HOT 1
- AMR HOT 1
- Group isolates HOT 7
- Not all mo_transforms work with antibiogram HOT 1
- Check groups for antibiotics: aminoglycosides all right? HOT 1
- as.sir reports invalid results as coming from wrong columns HOT 2
- extra factor level in class SIR (as.sir/is.sir) HOT 5
- `as.mo()`: give preference to species if subspecies is non-existent
- Add denominators to each antibiotic in antibiogram HOT 2
- Acknowledge data availability when using `first_isolate(method = "phenotype)`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amr.