getVariantAnnotationSet {GA4GHclient}R Documentation

Gets getVariantAnnotationSet function

Description

Get a variant annotation set by its ID.

Usage

getVariantAnnotationSet(host, variantAnnotationSetId)

Arguments

host

URL of GA4GH API data server.

variantAnnotationSetId

ID of variant annotation set.

Details

This function requests GET host/variantannotationsets/variantAnnotationSetId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchVariantAnnotationSets

Examples

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)

[Package GA4GHclient version 1.12.0 Index]