mirror of
https://github.com/msberends/AMR.git
synced 2025-07-10 10:21:56 +02:00
pm fixes
This commit is contained in:
@ -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