getReference: getReference function

Description Usage Arguments Details Value References See Also Examples

View source: R/getReference.R

Description

Get a reference by its ID.

Usage

1
getReference(host, referenceId)

Arguments

host

URL of GA4GH API data server.

referenceId

The ID of the Reference to be retrieved.

Details

This function requests GET host/references/referenceId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchReferences

Examples

1
2
3
4
5
6
7
host <- "http://1kgenomes.ga4gh.org/"
## Not run: 
referenceSetId <- searchReferenceSets(host, nrows = 1)$id
referenceId <- searchReferences(host, referenceSetId, nrows = 1)$id
getReference(host, referenceId)

## End(Not run)

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