qtlCredibleSetsQuery {otargen} | R Documentation |
Retrieve QTL Credible Sets data for a specified variant.
Description
This function queries the Open Targets GraphQL API to retrieve QTL credible sets data for a specified variant.
Usage
qtlCredibleSetsQuery(variantId, size = 500, index = 0)
Arguments
variantId |
Character: ID of the target variant (e.g., "19_10352442_G_C"). |
size |
Integer: Number of records to retrieve (default: 500). |
index |
Integer: Page index for pagination (default: 0). |
Value
Returns a tibble containing QTL credible sets data for the specified variant.
Examples
## Not run:
result <- qtlCredibleSetsQuery(variantId = "19_10352442_G_C", size = 500,
index = 0)
## End(Not run)
[Package otargen version 2.0.0 Index]