bring back antibiogram(), without deps

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-02-10 16:18:00 +01:00
1 parent 70a7ba0206
commit bc434db835
42 files changed
+11307 -4734

No files matched your search

+2 -2
View File
@@ -30,7 +30,7 @@ options(knitr.kable.NA = "")
structure_txt <- function(dataset) {
paste0(
"A data set with ",
format(nrow(dataset), big.mark = ","), " rows and ",
format(nrow(dataset), big.mark = " "), " rows and ",
ncol(dataset), " columns, containing the following column names: \n",
AMR:::vector_or(colnames(dataset), quotes = "*", last_sep = " and ", sort = FALSE), "."
)
@@ -142,7 +142,7 @@ Included (sub)species per taxonomic kingdom:
```{r, echo = FALSE}
microorganisms %>%
count(kingdom) %>%
mutate(n = format(n, big.mark = ",")) %>%
mutate(n = format(n, big.mark = " ")) %>%
setNames(c("Kingdom", "Number of (sub)species")) %>%
print_df()
```