1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 18:06:11 +01:00
AMR/man/key_antibiotics.Rd

38 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-02-21 11:52:31 +01:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/first_isolates.R
\name{key_antibiotics}
\alias{key_antibiotics}
\title{Key antibiotics based on bacteria ID}
\usage{
key_antibiotics(tbl, col_bactid = "bactid", info = TRUE, amcl = "amcl",
2018-02-26 12:15:52 +01:00
amox = "amox", cfot = "cfot", cfta = "cfta", cftr = "cftr",
cfur = "cfur", cipr = "cipr", clar = "clar", clin = "clin",
clox = "clox", doxy = "doxy", gent = "gent", line = "line",
mero = "mero", peni = "peni", pita = "pita", rifa = "rifa",
teic = "teic", trsu = "trsu", vanc = "vanc")
2018-02-21 11:52:31 +01:00
}
\arguments{
\item{tbl}{table with antibiotics coloms, like \code{amox} and \code{amcl}.}
\item{col_bactid}{column name of the unique IDs of the microorganisms (should occur in the \code{\link{microorganisms}} dataset). Get your bactid's with the function \code{\link{guess_bactid}}, that takes microorganism names as input.}
2018-02-21 11:52:31 +01:00
\item{info}{print progress}
2018-02-21 11:52:31 +01:00
\item{amcl, amox, cfot, cfta, cftr, cfur, cipr, clar, clin, clox, doxy, gent, line, mero, peni, pita, rifa, teic, trsu, vanc}{column names of antibiotics, case-insensitive}
2018-02-21 11:52:31 +01:00
}
2018-02-22 20:48:48 +01:00
\value{
Character of length 1.
}
2018-02-21 11:52:31 +01:00
\description{
Key antibiotics based on bacteria ID
}
2018-02-22 20:48:48 +01:00
\examples{
\donttest{
#' # set key antibiotics to a new variable
tbl$keyab <- key_antibiotics(tbl)
}
}
2018-02-21 11:52:31 +01:00
\seealso{
\code{\link{mo_property}} \code{\link{antibiotics}}
2018-02-21 11:52:31 +01:00
}