mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 02:03:04 +02:00
(v0.7.1.9018) deps
This commit is contained in:
@ -135,8 +135,6 @@ On our website \url{https://msberends.gitlab.io/AMR} you can find \href{https://
|
||||
}
|
||||
|
||||
\examples{
|
||||
a <- eucast_rules(septic_patients)
|
||||
|
||||
a <- data.frame(mo = c("Staphylococcus aureus",
|
||||
"Enterococcus faecalis",
|
||||
"Escherichia coli",
|
||||
@ -172,7 +170,7 @@ b
|
||||
# 5 Pseudomonas aeruginosa R R - - R R R
|
||||
|
||||
|
||||
# do not apply EUCAST rules, but rather get a a data.frame
|
||||
# do not apply EUCAST rules, but rather get a data.frame
|
||||
# with 18 rows, containing all details about the transformations:
|
||||
c <- eucast_rules(a, verbose = TRUE)
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ a \%like\% b
|
||||
|
||||
# get frequencies of bacteria whose name start with 'Ent' or 'ent'
|
||||
library(dplyr)
|
||||
library(clean)
|
||||
septic_patients \%>\%
|
||||
left_join_microorganisms() \%>\%
|
||||
filter(genus \%like\% '^ent') \%>\%
|
||||
|
Reference in New Issue
Block a user