1
0
mirror of https://github.com/msberends/AMR.git synced 2025-09-02 19:44:04 +02:00
This commit is contained in:
2018-10-23 14:59:36 +02:00
parent 0062a3facb
commit 707aa20a37
6 changed files with 12 additions and 25 deletions

View File

@@ -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",