1
0
mirror of https://github.com/msberends/AMR.git synced 2026-06-24 07:36:21 +02:00
Files
AMR/reference/export_ncbi_biosample.md
2026-06-23 18:00:14 +00:00

32 lines
566 B
Markdown

# Export Data Set as NCBI BioSample Antibiogram
Export Data Set as NCBI BioSample Antibiogram
## Usage
``` r
export_ncbi_biosample(
x,
filename = paste0("biosample_", format(Sys.time(), "%Y-%m-%d-%H%M%S"), ".xlsx"),
type = "pathogen MIC",
columns = where(is.mic),
save_as_xlsx = TRUE
)
```
## Arguments
- x:
A data set.
- filename:
A character string specifying the file name.
- type:
A character string specifying the type of data set, either "pathogen
MIC" or "beta-lactamase MIC", see
<https://www.ncbi.nlm.nih.gov/biosample/docs/>.