Learn R Programming

Rga4gh (version 0.1.1)

get_variant: GET a Variant

Description

GET a Variant

Usage

get_variant(client, variant_id)

Arguments

client
A ga4gh_client object
variant_id
The ID of the Variant

Examples

Run this code
## 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)

Run the code above in your browser using DataLab