rsid2varinfo: rsid to variant info.

Description Usage Arguments Value Examples

Description

rsid2varinfo looks up information from var_attributes for rs ids.

Usage

1
2
rsid2varinfo(rs_ids, host = "grch37.ensembl.org",
  var_attributes = c("refsnp_id", "chr_name", "chrom_start", "allele"))

Arguments

rs_ids

Character vector. List of rs gene ids to get information for.

host

Character. Ensembl biomaRt host.

var_attributes

Character vector. List of attributes to select from Ensembl.

Value

Data.frame. Data.frame of the attributes requested. Note that duplicates are removed and the order is not the same as given.

Examples

1
rsid2varinfo(c("rs8050136", "rs780094", "rs16942", "rs8050136"))

letaylor/bioutils documentation built on May 5, 2019, 7:09 a.m.