View source: R/get_gene_from_snp.R
get_gene_from_snp | R Documentation |
Create gene list data.frame from input SNP lists
get_gene_from_snp(snp, invert = F)
snp |
a vector or character contain snp names (rsIDs) |
invert |
boolean. Inverts the output, so that a list of SNPs is outputted instead. |
Applies the SNP-to-gene mapping described in the paper. Please, see the paper for details about reference panel and ancestry.
a list of genes (if invert is FALSE)
## Not run: get_gene_from_snp('rs12516') # BRCA1 ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.