mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 07:50:50 +01:00
(v0.9.0.9023) EUCAST 2020 guidelines
This commit is contained in:
1 parent
5a98e6b777
commit
9b8b02960e
43 files changed
+16588
-14564
No files matched your search
+3
-3
@@ -55,15 +55,15 @@ b \%like\% a
|
||||
|
||||
# also supports multiple patterns, length must be equal to x
|
||||
a <- c("Test case", "Something different", "Yet another thing")
|
||||
b <- c("case", "diff", "yet")
|
||||
b <- c( "case", "diff", "yet")
|
||||
a \%like\% b
|
||||
#> TRUE TRUE TRUE
|
||||
|
||||
# get frequencies of bacteria whose name start with 'Ent' or 'ent'
|
||||
library(dplyr)
|
||||
example_isolates \%>\%
|
||||
filter(mo_genus(mo) \%like\% '^ent') \%>\%
|
||||
freq(mo_fullname(mo))
|
||||
filter(mo_name(mo) \%like\% '^ent') \%>\%
|
||||
freq(mo_genus(mo))
|
||||
}
|
||||
\seealso{
|
||||
\code{\link[base:grep]{base::grep()}}
|
||||
|
||||
Reference in new issue
Block a user