Skip to contents

using the package httr, post the new qc sheet to the database

Usage

postQcSheet(
  database_qc_url,
  auth_token,
  run_number,
  new_qc_path,
  fastq_table_path
)

Arguments

database_qc_url

eg database_info$kn99_urls$QualityAssess. see database_info.

auth_token

getUserAuthToken

run_number

the run number of this qc sheet -- this is important b/c fastqFileNames aren't necessarily unique outside of their runs

new_qc_path

path to the new counts csv

fastq_table_path

path to a recent pull of the database fastq table

Value

a list of httr::response() objects

Note

there can be problems with dependencies and the rename function. this is working for now, but see here for more info https://statisticsglobe.com/r-error-cant-rename-columns-that-dont-exist