Description Usage Arguments Value See Also Examples
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:
1 | variantsToGRanges(variants, oneBasedCoord = TRUE, slStyle = "UCSC")
|
variants |
A list of R objects corresponding to the JSON objects returned by the GA4GH Variants API. |
oneBasedCoord |
Convert genomic positions to 1-based coordinates. |
slStyle |
The style for seqnames (chrN or N or...). Default is UCSC. |
GRanges
Other variants converter functions: variantsToVRanges
1 2 3 4 | variants1 <- searchVariants(converter = variantsToGRanges)
summary(variants1)
variants2 <- variantsToGRanges(searchVariants())
print(identical(variants1, variants2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.