Description Usage Arguments Details Value See Also Examples
View source: R/getVariantSet.R
Get a variant set by its ID.
| 1 | getVariantSet(host, variantSetId, asVCFHeader = TRUE)
 | 
| host | URL of GA4GH API data server. | 
| variantSetId | The ID of the VariantSet to be retrieved. | 
| asVCFHeader | If  | 
This function requests GET host/variantsets/variantSetId.
DataFrame object. It can be converted
into VCFHeader object.
DataFrame, searchVariantSets,
VCFHeader, makeVCFHeaderFromGA4GHResponse
| 1 2 3 4 5 6 7 8 9 | host <- "http://1kgenomes.ga4gh.org/"
## Not run: 
datasetId <- searchDatasets(host, nrows = 1)$id
variantSetId <- searchVariantSets(host, datasetId, nrows = 1)$id
getVariantSet(host, variantSetId)
getVariantSet(host, variantSetId, asVCF = FALSE)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.