getRSLocation: Get the location of an SNP.

Description Usage Arguments Details Value Author(s) Examples

View source: R/getRSLocation.R

Description

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

Usage

1
  getRSLocation(rs, species=NULL)

Arguments

rs

SNP rs number

species

Species identifier

Details

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

Value

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

Author(s)

Daniel Fischer

Examples

1
2
3
4
5
6
7
8
# Depending on the internet connection the following call
# can take up 10 seconds and hence does not pass the Cran
# checks. This is why it is wrapped into \dontrun 

  ## Not run: 
    getRSLocation("rs16033432", species="Gallus_gallus")
  
## End(Not run)

GenomicTools documentation built on March 13, 2020, 3:08 a.m.