Function to set comparisons between two samples and output the table in a way that the QTLseq package can use. Uses two element of a list to create a table that can be used by the package QTLseq.
Arguments
- df
A dataframe representing samples
vcf_to_qtlseqr_table
joined with the sample metadata AND filtered so that only the samples to be compared are present. Note that the levels of the columnbulk
must be greater than 1- sample_col
name of the column with the sample names. Must contain the low_bulk_sample and high_bulk_sample. Default 'sample'.
- bulk_col
name of the column which stores the different sample comparisons. bulk is a name retained from QTLSeqR and traditional BSA experiments