getSearchPage {GoogleGenomics} | R Documentation |
In general, use higher level methods such as getReads and getVariants instead.
getSearchPage(entityType, body, fields, pageToken)
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. |
The raw response converted from JSON to an R object.
Other page fetch functions: callGRPCMethod
,
getReadsPage
, getVariantsPage
# 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)