getDataset: getDataset function

Description Usage Arguments Details Value References See Also Examples

View source: R/getDataset.R

Description

Get a dataset by its ID.

Usage

1
getDataset(host, datasetId)

Arguments

host

URL of GA4GH API data server.

datasetId

The ID of the dataset to be retrieved.

Details

This function requests GET host/datasets/datasetId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchDatasets

Examples

1
2
3
4
5
6
host <- "http://1kgenomes.ga4gh.org/"
## Not run: 
datasetId <- searchDatasets(host, nrows = 1)$id
getDataset(host, datasetId)

## End(Not run)

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