queryDGIdb lexical error for some genes
0
0
Entering edit mode
Dennis • 0
@fb32c8ee
Last seen 7 months ago
The Netherlands

I'm using the rDGIdb to query the Drug Interaction Database. When using the main function as shown below, I get "Error: lexical error: invalid char in json text <html> <head><title>504 Gatewa" This happens only for a very small proportion of genes. It happens both when I either feed it a vector of gene symbols or when I manually write out the individual problematic genes, as done below for "NFE2L2". When I fill in this gene in the online DGIdb, the gene exists and produces output. Any idea what's happening here and how to circumvent this? I'm hoping to bulk query hundreds of genes...


queryDGIdb("NFE2L2")


sessionInfo( )
R version 4.3.1 (2023-06-16)
Platform: x86_64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.4
lexicalerror rDGIdb DGIdb json • 261 views
ADD COMMENT

Login before adding your answer.

Traffic: 680 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6