Skip to contents

extract collecting agency from several metadata fields

Usage

extract_collection_agency(meta, parallel = FALSE)

Arguments

meta

an ncbi pathogen detection metadata table

parallel

boolean, should furrr be used to parallelize? need to set your future::plan()

Value

a tibble with 2 columns, 1 = target_acc, 2 = collection_agency

Examples

klebsiella_example_dat %>% extract_collection_agency()
#> # A tibble: 1 × 2
#>   target_acc     collection_agency
#>   <chr>          <chr>            
#> 1 PDT000128121.2 CDC