get_variant: GET a Variant

Description Usage Arguments Examples

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 1, 2019, 6:35 p.m.