View source: R/create_snp_pairs.R
create_snp_pairs | R Documentation |
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.
create_snp_pairs(snp_table, window_size = 500000L)
snp_table |
A data table of SNP to be used in DAEQTL mapping. Typically,
this object is created with |
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. |
A data table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.