search_variant_annotation_sets: Search for Variant Annotation Sets

Description Usage Arguments Examples

Description

Search for Variant Annotation Sets

Usage

1
2
search_variant_annotation_sets(client, variant_set_id, page_size = NULL,
  page_token = NULL)

Arguments

client

A ga4gh_client object

variant_set_id

The ID of the Variant Set to Search

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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
ref_client <- ga4gh_client("http://1kgenomes.ga4gh.org", api_location = "")

## Not run: 
## Find a dataset to search in
datasets <- ref_client %>% search_datasets() %>% content
d_id <- datasets$datasets[[1]]$id

## Find a variant set to search in
variant_sets <- ref_client %>% search_variant_sets(d_id) %>% content()
vs_id <- variant_sets$variantSets[[2]]$id

## Search for variant annotation sets in the variant set
variant_annotation_sets <- ref_client %>%
 search_variant_annotation_sets(vs_id) %>% content()
variant_annotation_sets

## End(Not run)

Rga4gh documentation built on May 1, 2019, 6:35 p.m.