Hi all, the gene is “ENSG00000156804”.
The list of studies associated with this is gene Is available on the webpage https://genetics.opentargets.org/gene/ENSG00000156804.
The following query returns some associations which cannot be found on the webpage.
An example:
8_125470379_C_A (rs2954022) associated with Triglycerides (p=2.23e-113).
This is very strange, also because rs2954022 seems not to be linked to that gene (see Open Targets Genetics).
Why this difference?
query_string = "
query q_studiesAndLeadVariantsForGene($myGene_id: String!) {
studiesAndLeadVariantsForGene(geneId:$myGene_id){
study {
pmid
pubDate
nInitial
nReplication
nCases
numAssocLoci
traitCategory
traitReported
}
pval
direction
beta
oddsRatio
indexVariant {
id
rsId
}
}
}"
variables <- list("myGene_id" = "ENSG00000156804")
post_body <- list(query = query_string, variables = variables)
r <- POST(url = base_url, body = post_body, encode = 'json')