# Example usage:
url <- "https://biit.cs.ut.ee/gprofiler/api/gost/profile"
payload <- list(
organism = jsonlite::unbox("hsapiens"),
query = c("ENSG00000139618", "ENSG00000141510"),
sources = c("GO:BP", "KEGG"),
user_threshold = jsonlite::unbox(0.05),
all_results = jsonlite::unbox(TRUE)
)
if (FALSE) result <- gprofiler_request(url, payload)
Run the code above in your browser using DataLab