R/SNP2Gene.R
getSNP2Gene.Rd
A function help us look for which genes these SNPs might affect the expression of.
getSNP2Gene(snp, peak2gene, corr_cutoff = 0.4)
The SNP coordinates file.
Peak2Gene result obtained by **getPeak2Gene**.
Pearson's correlation coefficient threshold for determining significance Peak2Gene links. Default: 0.4.
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