View source: R/get_genes_within_1Mb_signif_SNPs.R
get_genes_within_1Mb_of_signif_SNPs | R Documentation |
As colochelpR has primarily been used together with cis-eQTL datasets (where testing of SNP-gene associations is limited to genes within 1 Mb of the SNP), we define a region of +/- 1 Mb.
get_genes_within_1Mb_of_signif_SNPs( GWAS, pvalue_column, CHR_column, BP_column, pvalue_threshold = 5e-08, mart = 38 )
GWAS |
dataframe. Dataframe with GWAS results, containing, as a minimum, the following columns: (1) SNP identifier, (2) chromosome, in integer format, (3) basepair position, in integer format and (4) p-value column. |
pvalue_column |
chr. Name of column (in quotation marks) containing p-values in GWAS dataframe. |
CHR_column |
chr. Name of column (in quotation marks) containing chromosome name in GWAS dataframe. |
BP_column |
chr. Name of column (in quotation marks) containing basepair position in GWAS dataframe. |
pvalue_threshold |
num. P-value threshold for significance. Default value is 5e-8. |
mart |
int. Specify genome build. |
All genes within +/- 1Mb of significant SNPs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.