mirror of
https://github.com/msberends/AMR.git
synced 2026-06-24 18:16:19 +02:00
Built site for AMR@3.0.1.9061: 0c1709c
This commit is contained in:
@@ -85,14 +85,15 @@ There is one exception in columns used for the rules: all column names
|
||||
of the
|
||||
[microorganisms](https://amr-for-r.org/reference/microorganisms.md) data
|
||||
set can also be used, but do not have to exist in the data set. These
|
||||
column names are: `"mo"`, `"fullname"`, `"status"`, `"kingdom"`,
|
||||
`"phylum"`, `"class"`, `"order"`, `"family"`, `"genus"`, `"species"`,
|
||||
`"subspecies"`, `"rank"`, `"ref"`, `"oxygen_tolerance"`, `"source"`,
|
||||
`"lpsn"`, `"lpsn_parent"`, `"lpsn_renamed_to"`, `"mycobank"`,
|
||||
`"mycobank_parent"`, `"mycobank_renamed_to"`, `"gbif"`, `"gbif_parent"`,
|
||||
`"gbif_renamed_to"`, `"prevalence"`, and `"snomed"`. Thus, this next
|
||||
example will work as well, despite the fact that the `df` data set does
|
||||
not contain a column `genus`:
|
||||
column names are: `"mo"`, `"fullname"`, `"status"`, `"domain"`,
|
||||
`"kingdom"`, `"phylum"`, `"class"`, `"order"`, `"family"`, `"genus"`,
|
||||
`"species"`, `"subspecies"`, `"rank"`, `"ref"`, `"oxygen_tolerance"`,
|
||||
`"morphology"`, `"source"`, `"lpsn"`, `"lpsn_parent"`,
|
||||
`"lpsn_renamed_to"`, `"mycobank"`, `"mycobank_parent"`,
|
||||
`"mycobank_renamed_to"`, `"gbif"`, `"gbif_parent"`, `"gbif_renamed_to"`,
|
||||
`"prevalence"`, and `"snomed"`. Thus, this next example will work as
|
||||
well, despite the fact that the `df` data set does not contain a column
|
||||
`genus`:
|
||||
|
||||
y <- custom_interpretive_rules(
|
||||
TZP == "S" & genus == "Klebsiella" ~ aminopenicillins == "S",
|
||||
|
||||
Reference in New Issue
Block a user