Description Usage Arguments Details Value See Also Examples
In general, use the searchReads method instead. It calls this method, returning reads from all of the pages that comprise the requested genomic range.
1 2 3 4 |
base_url |
the base URL of the GA4GH server to which requests will be sent to. |
readGroupIds |
The read group set ID. |
referenceId |
The chromosome. |
start |
Start position on the chromosome in 0-based coordinates. |
end |
End position on the chromosome in 0-based coordinates. |
fields |
A subset of fields to retrieve. The default (NULL) will return all fields. |
pageToken |
The page token. This can be NULL (default) for the first page. |
Note that the Global Alliance for Genomics and Health API uses a 0-based coordinate system. For more detail, please see GA4GH discussions such as the following:
A two-element list is returned by the function.
reads: A list of R objects corresponding to the JSON objects returned by the GA4GH Reads API.
nextPageToken: The token to be used to retrieve the next page of results, if applicable.
Other page fetch functions: searchVariantsPage
1 2 3 | readsPage <- searchReadsPage()
summary(readsPage)
summary(readsPage$reads[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.