Closed agleto closed 2 years ago
sorry, already solved the problem; the annot_dataset was wrong, I should've wrote "GO:0003674"
Hi. Thank you for reporting this issue.
I've added this sentence to the function's manual and vignette articles to prevent the ambiguities:
Note that you should enter the "id" of the datasets, not its label (e.g. entering "biological_process" is incorrect, you should rather enter "GO:0008150").
Also, I've edited the response parser to correctly return any error messages from PANTHER's API. Now, in your case for instance, the following will be returned:
$search
$search$error
[1] "Error ontology type not supported"
$search$search_type
[1] "overrepresentation"
Hello again! I would like to ask if it is possible that the enrichment results also include the lists of genes that are overrepresented in each term. This would be very useful for downstream work.
Thanks a lot!
Hi. This PANTHER API endpoint does not return the overlapping genes between the user's input and the terms. I intend to keep rbioapi faithful to the corresponding resources, so I cannot implement your requested feature. Please see my answer to this issue for workarounds.
Hello,
I am trying to run the enrichment analysis for maize using the Zm00001d type gene ids, which usually works fine on the Panther website.
But it returns this error.
Performing over-representation enrichment analysis of 29 input genes of organism 4577 against molecular_function datasets. Error in .rba_skeleton(input_call) : Internal Error: Failed to parse the server's response. This is probably because the server has changed the response format. Please report this bug to us: Error in jsonlite::flatten(x$result) : is.data.frame(x) is not TRUE
Thanks in advance for any help with this issue.