Learn R Programming

Rga4gh (version 0.1.1)

search_reference_sets: Search for Reference Sets

Description

Search for Reference Sets

Usage

search_reference_sets(client, assembly_id = NULL, accession = NULL, md5checksum = NULL, page_size = NULL, page_token = NULL)

Arguments

client
A ga4gh_client object
assembly_id
Return the Reference Sets for which the assembly_id matches this string (case-sensitive, exact match).
accession
Return the Reference Sets for which the accession matches this string (case-sensitive, exact match).
md5checksum
Return the Reference Sets for which the md5checksum matches this string (case-sensitive, exact match).
page_size
Specifies the maximum number of results to return in a single page. If unspecified, the client default will be used.
page_token
The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response.

Examples

Run this code

ref_client <- ga4gh_client("http://1kgenomes.ga4gh.org", api_location = "")

## Not run: 
# library(magrittr)
# ## Search for reference sets
# reference_sets <- ref_client %>% search_reference_sets() %>% content()
# reference_sets
# ## End(Not run)

Run the code above in your browser using DataLab