mirror of
https://github.com/msberends/AMR.git
synced 2026-10-01 04:13:33 +02:00
pm fixes
This commit is contained in:
1 parent
822e9de82c
commit
aa48c6bf53
11 files changed
+211
-186
No files matched your search
+4
-8
@@ -152,22 +152,18 @@ colnames(set_ab_names(example_isolates, NIT:VAN))
|
||||
\donttest{
|
||||
if (require("dplyr")) {
|
||||
example_isolates \%>\%
|
||||
set_ab_names() \%>\%
|
||||
head()
|
||||
set_ab_names()
|
||||
|
||||
# this does the same:
|
||||
example_isolates \%>\%
|
||||
rename_with(set_ab_names) \%>\%
|
||||
head()
|
||||
rename_with(set_ab_names)
|
||||
|
||||
# set_ab_names() works with any AB property:
|
||||
example_isolates \%>\%
|
||||
set_ab_names(property = "atc") \%>\%
|
||||
head()
|
||||
set_ab_names(property = "atc")
|
||||
|
||||
example_isolates \%>\%
|
||||
set_ab_names(where(is.sir)) \%>\%
|
||||
colnames()
|
||||
set_ab_names(where(is.sir))
|
||||
|
||||
example_isolates \%>\%
|
||||
set_ab_names(NIT:VAN) \%>\%
|
||||
|
||||
@@ -64,7 +64,6 @@ The function \code{\link[=format]{format()}} calculates the resistance per bug-d
|
||||
example_isolates
|
||||
|
||||
x <- bug_drug_combinations(example_isolates)
|
||||
head(x)
|
||||
format(x, translate_ab = "name (atc)")
|
||||
|
||||
# Use FUN to change to transformation of microorganism codes
|
||||
|
||||
Reference in new issue
Block a user