A function help us look for which genes these SNPs might affect the expression of.

getSNP2Gene(snp, peak2gene, corr_cutoff = 0.4)

Arguments

snp

The SNP coordinates file.

peak2gene

Peak2Gene result obtained by **getPeak2Gene**.

corr_cutoff

Pearson's correlation coefficient threshold for determining significance Peak2Gene links. Default: 0.4.

Examples

 getSNP2Gene(snp="~/encode/CAT/test.snp", peak2gene="~/all_peak2gene.txt")
#> Warning: cannot open file 'C:/Users/PC/Documents/encode/CAT/test.snp': No such file or directory
#> Error in file(file, "rt"): cannot open the connection