Description Usage Arguments Details Value References See Also Examples
View source: R/getVariantAnnotationSet.R
Get a variant annotation set by its ID.
1 | getVariantAnnotationSet(host, variantAnnotationSetId)
|
host |
URL of GA4GH API data server. |
variantAnnotationSetId |
ID of variant annotation set. |
This function requests
GET host/variantannotationsets/variantAnnotationSetId
.
DataFrame
object.
DataFrame
,
searchVariantAnnotationSets
1 2 3 4 5 6 7 8 | host <- "http://1kgenomes.ga4gh.org/"
## Not run:
datasetId <- searchDatasets(host, nrows = 1)$id
variantSetId <- searchVariantSets(host, datasetId, nrows = 2)$id[2]
id <- searchVariantAnnotationSets(host, variantSetId, nrows = 1)$id
getVariantAnnotationSet(host, variantAnnotationSetId = id)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.