Learn R Programming

Rga4gh (version 0.1.1)

get_reference_id: GET a Reference

Description

GET a Reference

Usage

get_reference(client, reference_id)

Arguments

client
A ga4gh_client object
reference_id
The ID of the Reference

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'
# reference <- ref_client %>% get_reference("id")
# ## End(Not run)

Run the code above in your browser using DataLab