getFeatureSet: getFeatureSet function

Description Usage Arguments Details Value References See Also Examples

View source: R/getFeatureSet.R

Description

Get a feature set by its ID.

Usage

1
getFeatureSet(host, featureSetId)

Arguments

host

URL of GA4GH API data server.

featureSetId

The ID of the FeatureSet to be retrieved.

Details

This function requests GET host/featuresets/featureSetId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchFeatureSets

Examples

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

## End(Not run)

labbcb/GA4GHclient documentation built on May 20, 2019, 7:32 p.m.