Entering edit mode
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