getIndividual {GA4GHclient}R Documentation

getIndividual function

Description

Get an individual by its ID.

Usage

getIndividual(host, individualId)

Arguments

host

URL of GA4GH API data server.

individualId

ID of the individual requested.

Details

This function requests GET host/individuals/individualId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchIndividuals

Examples

host <- "http://1kgenomes.ga4gh.org/"
## Not run: 
datasetId <- searchDatasets(host, nrows = 1)$id
individualId <- searchIndividuals(host, datasetId, nrows = 1)$id
getIndividual(host, individualId)

## End(Not run)

[Package GA4GHclient version 1.8.0 Index]