AMR/man/export_biosample.Rd

25 lines
725 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/export_biosample.R
\name{export_biosample}
\alias{export_biosample}
\title{Export Data Set as NCBI BioSample Antibiogram}
\usage{
export_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{
\item{x}{a data set}
\item{filename}{a character string specifying the file name}
\item{type}{a character string specifying the type of data set, either "pathogen MIC" or "beta-lactamase MIC", see \url{https://www.ncbi.nlm.nih.gov/biosample/docs/}}
}
\description{
Export Data Set as NCBI BioSample Antibiogram
}