Skip to contents

Add new samples to an existing project database. All samples will inherit the default processing options. Creates a backup of the existing database prior to updating.

Usage

add_samples(
  path = ".",
  update_mapping_fn = NULL,
  mapping_id = "ID",
  mapping_taxon = "Taxon"
)

Arguments

path

Path to the project directory (default = current working directory)

update_mapping_fn

Path to the update mapping CSV file. Must contain columns "ID", "Taxon, "R1", and "R2"

mapping_id

Column name of the update mapping file to use as the primary key

mapping_taxon

Column name of the update mapping file containing a Taxonomic identifier (eg, species name)