getSearchPage: Get one page of search results for a particular entity type...

Description Usage Arguments Value See Also Examples

View source: R/client.R

Description

In general, use higher level methods such as getReads and getVariants instead.

Usage

1
getSearchPage(entityType, body, fields, pageToken)

Arguments

entityType

Entities with a search API such as reads, variants, variantSets, etc...

body

The body of the message to POST to the search endpoint.

fields

The fields to be returned in the search response.

pageToken

The page token. This can be NULL for the first page.

Value

The raw response converted from JSON to an R object.

See Also

Other page fetch functions: callGRPCMethod, getReadsPage, getVariantsPage

Examples

1
2
3
4
5
6
# Authenticated on package load from the env variable GOOGLE_API_KEY.
body <- list(readGroupSetIds=list("CMvnhpKTFhDnk4_9zcKO3_YB"),
             referenceName="22",
             start=16051400, end=16051500, pageToken=NULL)
reads <- getSearchPage("reads", body, NULL, NULL)
summary(reads)

GoogleGenomics documentation built on May 2, 2019, 12:54 a.m.