getVariantAnnotationSet: Gets getVariantAnnotationSet function

Description Usage Arguments Details Value References See Also Examples

View source: R/getVariantAnnotationSet.R

Description

Get a variant annotation set by its ID.

Usage

1
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

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)

GA4GHclient documentation built on Nov. 8, 2020, 5:47 p.m.