Learn R Programming

otargen (version 2.0.0)

uniProtVariantsQuery: Retrieve UniProt Variants data for a specified variant.

Description

This function queries the Open Targets GraphQL API to retrieve UniProt variants data for a specified variant.

Usage

uniProtVariantsQuery(variantId)

Value

Returns a tibble containing UniProt variants data for the specified variant.

Arguments

variantId

Character: ID of the target variant (e.g., "4_1804392_G_A").

Examples

Run this code
if (FALSE) {
result <- uniProtVariantsQuery(variantId = "4_1804392_G_A")
}

Run the code above in your browser using DataLab