View source: R/read_many_biotyper_reports.R
read_many_biotyper_reports | R Documentation |
Importing a list of Bruker MALDI Biotyper CSV reports
read_many_biotyper_reports(path_to_reports, report_ids, best_hits = TRUE, ...)
path_to_reports |
A vector of paths to the csv files to be imported by |
report_ids |
A vector of character names for each of the reports. |
best_hits |
A logical indicating whether to return only the best hit in the |
... |
Name-value pairs to be passed on to |
A tibble just like the one returned by the read_biotyper_report()
function, except that the name of the spot of the MALDI target (i.e., plate) is registered to the original_name
column (instead of the name
column), and the column name
consist in the provided report_ids
used as a prefix of the original_name
column.
The report identifiers are sanitized to convert all dashes (-
) as underscores (_
).
read_biotyper_report
# List of Bruker MALDI Biotyper reports
reports_paths <- system.file(
c("biotyper.csv", "biotyper.csv", "biotyper.csv"),
package = "maldipickr"
)
# Read the list of reports and combine them in a single tibble
read_many_biotyper_reports(
reports_paths,
report_ids = c("first", "second", "third"),
# Additional metadata below are passed to dplyr::mutate
growth_temperature = 37.0
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.