postCounts | R Documentation |
using the package httr, post the raw count .csv, which is the compiled counts for a given run, to the database
postCounts(
database_counts_url,
run_number,
auth_token,
count_df,
fastq_table,
count_file_suffix = "_read_count.tsv"
)
database_counts_url |
eg database_info$kn99_urls$Counts.
See |
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 |
count_df |
the counts read in as a dataframe. Make sure there is no 'feature' or 'gene_id' column. Colnames need to be the sample identifier |
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" |
a list of httr::response() objects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.