Learn R Programming

GenomicTools (version 0.2.6)

getRSLocation: Get the location of an SNP.

Description

This function gets the exact location of a SNPs, based on a specific database.

Usage

getRSLocation(rs, species="Gallus_gallus", url="jul2016.archive.ensembl.org")

Arguments

rs

SNP rs number

species

Species identifier

url

Path of the ensembl database to use

Value

A list with Chr and Location (BP) of an SNP.

Details

This function can download from any specifi ensembl database the location of an SNP (as given as RS number) for a specific species.

Examples

Run this code
# NOT RUN {
  getRSLocation("rs16033432")
# }

Run the code above in your browser using DataLab