getDataset {GA4GHclient} | R Documentation |
Get a dataset by its ID.
getDataset(host, datasetId)
host |
URL of GA4GH API data server. |
datasetId |
The ID of the dataset to be retrieved. |
This function requests GET host/datasets/datasetId
.
DataFrame
object.
host <- "http://1kgenomes.ga4gh.org/" ## Not run: datasetId <- searchDatasets(host, nrows = 1)$id getDataset(host, datasetId) ## End(Not run)