Description Usage Arguments Details Value See Also Examples
This function will return all of the variants that comprise the requested genomic range, iterating over paginated results as necessary.
1 2 3 |
base_url |
the base URL of the GA4GH server to which requests will be sent to. |
variantSetId |
The variant set ID. |
referenceName |
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. |
converter |
A function that takes a list of variant R objects and returns them converted to the desired type. |
Optionally pass a converter as appropriate for your use case. By passing it to this method, only the converted objects will be accumulated in memory. The converter function should return an empty container of the desired type if called without any arguments.
By default, the return value is a list of R objects corresponding to the JSON objects returned by the GA4GH Variants API. If a converter is passed, object(s) of the type returned by the converter will be returned by this function.
searchReads
for equivalent function for reads, and
variantsToVRanges
for a converter function.
1 2 3 | variants <- searchVariants()
summary(variants)
summary(variants[[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.