This function creates a data table of SNP pairs to be used in DAEQTL mapping.
Essentially, this function looks for neighboring SNPs, i.e. within a genomic
window (specified with window_size
) and creates a data table with those SNP
pairs, in long format. Check the vignette('snp-pairs')
to understand when
you might need to use this function.
Arguments
- snp_table
A data table of SNP to be used in DAEQTL mapping. Typically, this object is created with
create_snp_table()
. Seevignette('snp-pairs')
for context.- window_size
A genomic window size, in base pairs. Default is 500 kb, up and down the DAE SNP, i.e. a window of 1 Mb around the DAE SNP.