mirror of
https://github.com/msberends/AMR.git
synced 2026-11-29 05:26:13 +01:00
Built release reference for AMR@3.0.1
This commit is contained in:
1 parent
4aeed01335
commit
70671302aa
65 files changed
+13866
No files matched your search
@@ -0,0 +1,67 @@
|
||||
# Data Set with 6 036 Common Microorganism Codes
|
||||
|
||||
A data set containing commonly used codes for microorganisms, from
|
||||
laboratory systems and [WHONET](https://whonet.org). Define your own
|
||||
with
|
||||
[`set_mo_source()`](https://amr-for-r.org/release/3.0.1/reference/mo_source.md).
|
||||
They will all be searched when using
|
||||
[`as.mo()`](https://amr-for-r.org/release/3.0.1/reference/as.mo.md) and
|
||||
consequently all the
|
||||
[`mo_*`](https://amr-for-r.org/release/3.0.1/reference/mo_property.md)
|
||||
functions.
|
||||
|
||||
## Usage
|
||||
|
||||
``` r
|
||||
microorganisms.codes
|
||||
```
|
||||
|
||||
## Format
|
||||
|
||||
A [tibble](https://tibble.tidyverse.org/reference/tibble.html) with 6
|
||||
036 observations and 2 variables:
|
||||
|
||||
- `code`
|
||||
Commonly used code of a microorganism. ***This is a unique
|
||||
identifier.***
|
||||
|
||||
- `mo`
|
||||
ID of the microorganism in the
|
||||
[microorganisms](https://amr-for-r.org/release/3.0.1/reference/microorganisms.md)
|
||||
data set
|
||||
|
||||
## Download Our Reference Data
|
||||
|
||||
All reference data sets in the AMR package - including information on
|
||||
microorganisms, antimicrobials, and clinical breakpoints - are freely
|
||||
available for download in multiple formats: R, MS Excel, Apache Feather,
|
||||
Apache Parquet, SPSS, and Stata.
|
||||
|
||||
For maximum compatibility, we also provide machine-readable,
|
||||
tab-separated plain text files suitable for use in any software,
|
||||
including laboratory information systems.
|
||||
|
||||
Visit [our website for direct download
|
||||
links](https://amr-for-r.org/articles/datasets.html), or explore the
|
||||
actual files in [our GitHub
|
||||
repository](https://github.com/msberends/AMR/tree/main/data-raw/datasets).
|
||||
|
||||
## See also
|
||||
|
||||
[`as.mo()`](https://amr-for-r.org/release/3.0.1/reference/as.mo.md)
|
||||
[microorganisms](https://amr-for-r.org/release/3.0.1/reference/microorganisms.md)
|
||||
|
||||
## Examples
|
||||
|
||||
``` r
|
||||
microorganisms.codes
|
||||
|
||||
# 'ECO' or 'eco' is the WHONET code for E. coli:
|
||||
microorganisms.codes[microorganisms.codes$code == "ECO", ]
|
||||
|
||||
# and therefore, 'eco' will be understood as E. coli in this package:
|
||||
mo_info("eco")
|
||||
|
||||
# works for all AMR functions:
|
||||
mo_is_intrinsic_resistant("eco", ab = "vancomycin")
|
||||
```
|
||||
Reference in new issue
Block a user