get_nearest_genes | R Documentation |
Find genes that are closest to a SNP.
get_nearest_genes(gwas_table = NULL, n_hit = 1)
gwas_table |
Object returned from |
n_hit |
The number of SNPs that should be looked up. |
Based on a GWAS table, returns the gene annotation that is closest to each SNP for the number of SNP specified. This function always returns the closest annotation. To limit the lookup range use get_overlapping_genes
. Lookup is done via ensembl plants; requires internet connection.
format_gwas
get_overlapping_genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.