mirror of
https://github.com/msberends/AMR.git
synced 2026-06-24 07:36:21 +02:00
32 lines
566 B
Markdown
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/>.
|