load_patric_db | R Documentation |
Load PATRIC database
load_patric_db(x = patric_ftp_path)
x |
Character path to local or ftp path (.txt or .rds), or data.frame object. |
PATRIC database (S3 class 'patric_db')
patric_db <- load_patric_db() # will get from PATRIC ftp
# make data.frame with single row
p <- data.frame(genome_id = 1,
genome_name = "E. coli",
antibiotic = "amoxicillin",
measurement = 2.0,
measurement_unit = "mg/L",
laboratory_typing_method = "Agar dilution",
resistant_phenotype = "R")
load_patric_db(p)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.