postCounts: post counts to database

Description Usage Arguments Value

Description

using the package httr, post the raw count .csv, which is the compiled counts for a given run, to the database

Usage

1
2
3
4
5
6
7
8
postCounts(
  database_counts_url,
  run_number,
  auth_token,
  new_counts_path,
  fastq_table,
  count_file_suffix = "_read_count.tsv"
)

Arguments

database_counts_url

eg database_info$kn99_urls$Counts. see database_info

run_number

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

auth_token

see getUserAuthToken

new_counts_path

path to the new counts csv

fastq_table

a recent pull of the database fastq table

count_file_suffix

the suffix appended to the fastqFileName in the count file column headings. default is "_read_count.tsv"

Value

a list of httr::response() objects


cmatKhan/brentlabRnaSeqTools documentation built on Nov. 17, 2021, 5:47 a.m.