getBiosample {GA4GHclient}R Documentation

getBiosample function

Description

Get a biosample by its ID.

Usage

getBiosample(host, biosampleId)

Arguments

host

URL of GA4GH API data server.

biosampleId

ID of the biosample requested.

Details

This function requests GET host/datasets/biosampleId.

Value

DataFrame object.

References

Official documentation.

See Also

DataFrame, searchBiosamples

Examples

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

## End(Not run)

[Package GA4GHclient version 1.12.0 Index]