View source: R/biomart_queries.R
biomart.SNP.position | R Documentation |
Uses biomaRt function to fetch the chromosomal coordinates for the given SNP IDs It uses the given BioMart database.
biomart.SNP.position(rs, mart, with.alleles = FALSE)
rs |
the variant mame (rs ID, ...) |
mart |
BioMart database |
with.alleles |
whether including variant alleles (default: FALSE) |
reference SNP IDs with its genomic coordinates, or reference SNP IDs with its genomic coordinate and alleles
Alessia Visconti
mybiomart <- biomart.fetch.SNP.grch37.mart()
biomart.SNP.position("rs9890579", mybiomart)
biomart.SNP.position("rs9890579", mybiomart, with.alleles=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.