Description Usage Arguments Details Value References See Also Examples
Get a feature set by its ID (a line of genomic feature file).
1 | getFeature(host, featureId)
|
host |
URL of GA4GH API data server. |
featureId |
The ID of the feature to be retrieved. |
This function requests GET host/features/featureId
.
DataFrame
object.
1 2 3 4 5 6 7 8 | host <- "http://1kgenomes.ga4gh.org/"
## Not run:
datasetId <- searchDatasets(host, nrows = 1)$id
featureSetId <- searchFeatureSets(host, datasetId, nrows = 1)$id
featureId <- searchFeatures(host, featureSetId, nrows = 1)$id
getFeature(host, featureId)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.