mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 13:21:50 +02:00
fixes
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
\alias{EUCAST_exceptional_phenotypes}
|
||||
\title{Determine multidrug-resistant organisms (MDRO)}
|
||||
\usage{
|
||||
MDRO(tbl, country = NULL, col_mo = "mo", info = TRUE,
|
||||
MDRO(tbl, country = NULL, col_mo = NULL, info = TRUE,
|
||||
amcl = "amcl", amik = "amik", amox = "amox", ampi = "ampi",
|
||||
azit = "azit", aztr = "aztr", cefa = "cefa", cfra = "cfra",
|
||||
cfep = "cfep", cfot = "cfot", cfox = "cfox", cfta = "cfta",
|
||||
@ -22,8 +22,7 @@ MDRO(tbl, country = NULL, col_mo = "mo", info = TRUE,
|
||||
peni = "peni", pita = "pita", poly = "poly", qida = "qida",
|
||||
rifa = "rifa", roxi = "roxi", siso = "siso", teic = "teic",
|
||||
tetr = "tetr", tica = "tica", tige = "tige", tobr = "tobr",
|
||||
trim = "trim", trsu = "trsu", vanc = "vanc",
|
||||
col_bactid = "bactid")
|
||||
trim = "trim", trsu = "trsu", vanc = "vanc", col_bactid = NULL)
|
||||
|
||||
BRMO(tbl, country = "nl", ...)
|
||||
|
||||
|
@ -73,13 +73,7 @@ septic_patients \%>\%
|
||||
# get bacteria properties like genus and species
|
||||
left_join_microorganisms("mo") \%>\%
|
||||
# calculate first isolates
|
||||
mutate(first_isolate =
|
||||
first_isolate(.,
|
||||
"date",
|
||||
"patient_id",
|
||||
"mo",
|
||||
col_specimen = NA,
|
||||
col_icu = NA)) \%>\%
|
||||
mutate(first_isolate = first_isolate(.)) \%>\%
|
||||
# filter on first E. coli isolates
|
||||
filter(genus == "Escherichia",
|
||||
species == "coli",
|
||||
|
Reference in New Issue
Block a user