getIndividual: getIndividual function

Description Usage Arguments Details Value References See Also Examples

View source: R/getIndividual.R

Description

Get an individual by its ID.

Usage

1
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

1
2
3
4
5
6
7
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)

GA4GHclient documentation built on Nov. 8, 2020, 5:47 p.m.