write_ncbi_tabs: Write NCBI data to a CSV

View source: R/write_ncbi.R

write_ncbi_tabsR Documentation

Write NCBI data to a CSV

Description

Write tables extracted and possibly reduced to CSV files for further analysis.

Usage

write_ncbi_tabs(
  x,
  outdir = ".",
  out_prefix = "NCBI_reduced_",
  combine = FALSE,
  out_names = if (is.data.frame(x)) "out" else names(x),
  ...
)

Arguments

x

either a list or data.frame

outdir

the directory to write CSVs to

out_prefix

the common prefix for all files

combine

logical, if TRUE the tables will be combined into a single CSV

out_names

the unique name to use for each table

...

addtional args passed to write.csv

Value

the file paths of the CSVs written

Author(s)

Matt Espe


fishsciences/metabarcode_utils documentation built on Feb. 25, 2024, 11:31 a.m.