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: 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 20, 2017, 11:03 p.m.
Search within the GoogleGenomics package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.