Learn R Programming

otargen (version 2.0.0)

qtlCredibleSetsQuery: 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)

Value

Returns a tibble containing QTL credible sets data for the specified variant.

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).

Examples

Run this code
if (FALSE) {
result <- qtlCredibleSetsQuery(variantId = "19_10352442_G_C", size = 500, 
index = 0)
}

Run the code above in your browser using DataLab