get_variant: GET a Variant

Description Usage Arguments Examples

View source: R/get.R

Description

GET a Variant

Usage

1
get_variant(client, variant_id)

Arguments

client

A ga4gh_client object

variant_id

The ID of the Variant

Examples

1
2
3
4
5
6
7
8
## Create a client
ref_client <- ga4gh_client("http://1kgenomes.ga4gh.org", api_location = "")
## Not run: 
library(magrittr)
## Retrieve the object with id 'id'
variant <- ref_client %>% get_variant("id")

## End(Not run)

Rga4gh documentation built on May 29, 2017, 9:12 a.m.