Functions to create a custom "gene" class and parse AMR data.
Value
For as.gene
, an object of class "gene". For import_amrfp()
, a data frame with parsed AMR data.
Examples
if (FALSE) { # \dontrun{
# Create a gene object
gene <- as.gene(c("gene1", "gene2"))
print(gene)
# Parse AMR data
parsed_data <- import_amrfp("path/to/input_table.tsv", "SampleID")
} # }