getVariantAnnotationSet {GA4GHclient} | R Documentation |
Get a variant annotation set by its ID.
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
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)