getRSLocation: Get the location of an SNP.

View source: R/getRSLocation.R

getRSLocationR Documentation

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=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

# 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)

fischuu/GenomicTools documentation built on April 30, 2023, 7:53 p.m.