get_overlapping_genes | R Documentation |
Find genes that overlap with a SNP.
get_overlapping_genes(gwas_table = NULL, n_hit = 1, distance = -1)
gwas_table |
Object returned from |
n_hit |
The number of SNPs that should be looked up. |
distance |
The maximum distance from SNP to annotation, can be varied to lookup genes within a specific distance |
Based on a GWAS table, returns the gene annotation that is overlapping with each SNP for the number of SNP specified. If there is no overlap, the SNP is returned, but the GeneID column is empty. Lookup is done via ensembl plants; requires internet connection.
format_gwas
get_nearest_genes
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.