From 0187a21076bf1330ce757795beb46f047a684aad Mon Sep 17 00:00:00 2001 From: Andre Holzer <45400168+AndreHolzer@users.noreply.github.com> Date: Mon, 17 Jun 2024 07:00:56 +0200 Subject: [PATCH] Update Metapolish_main-anaylsis-script.R v1.4.1 --- scripts/Metapolish_main-anaylsis-script.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Metapolish_main-anaylsis-script.R b/scripts/Metapolish_main-anaylsis-script.R index ff6f683..f54f368 100755 --- a/scripts/Metapolish_main-anaylsis-script.R +++ b/scripts/Metapolish_main-anaylsis-script.R @@ -549,7 +549,7 @@ if (length(df.names$Name) > 99) { toSend = list(queryList = name.vec, inputType = "name") # The MetaboAnalyst API url - call <- "https://www.xialab.ca/api/mapcompounds" + call <- "https://rest.xialab.ca/api/mapcompounds" # Use httr::POST to send the request to the MetaboAnalyst API query_results_html <- httr::POST(call, body = toSend, encode = "json") # Check if response is ok (TRUE)