-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update KEGG API #540
update KEGG API #540
Conversation
merge from yulab to me
Hi, I am not 100% sure whether it relates to this update, or whether KEGG changed something internally, but could the organism be removed from the gene set descriptions? E.g. Thanks!
"Old" output; no organism added to set descriptions (copied from my post here):
Current output, when using identical call, organism is added to descriptions. (Also more genes have been annotated to sets).
|
Hi, I'm not sure if this is related to the comment and PR above, but I noticed a change when running the gseKEGG function.
However today when I ran the same command, I got the following error-
(Nothing in my input changed) For more context, my data is from a mouse single-cell experiment.
Also, a quick comment about the error message, previous error messages online seem to have more information about the expected input gene IDs, but I didn't see any for my error message. Please let me know if there's any other information I can provide to help debug this. |
Update- thanks to @guidohooiveld 's previous comment, I came across this message in the thread suggesting to run the devtools version That seems to have done the trick and fixed my issue! |
add following code can solve the problem: |
Hi I am still having the issue preparing geneSet collections... when I try to run gseKEGG and I tried all the possible conversion of mi 20k genes into Gene ID and KEGG ID but nothing worked, thanks |
@fransiss Please provide your code. |
I get the same error message... " --> No gene can be mapped...." I also have tried to re-install ClusterProfilerfrom the devtools and doesnt work still
|
Without also knowing your input it is impossible to give some help... So please show the first 10 lines of input of |
The gene annotation that I've been using is that for FLYBASE (FBgn00XXXXX), however, my understanding is that gseKEGG(keyType = "kegg") wants a specific annotation (that's what the second paragraph of the codeis for): "Dmel_CGXXXX"
|
Would you mind editing or reposting your previous post as text (and no screenshots)? This will allow copy/pasting the ids (preventing making mistakes). To generate code boxes: |
I had some time left... So your input are Let's generate some sample data that is based in
We are all set now, so let's get started!
That's it! Yet.....: when continuing with visualization, it may be useful to convert the Note that
A) after converting into flybaseids:
Flybaseid-based cnetplot below B) after converting into flybaseids:
|
Hi Guido, thank you SO much for your help! however, even when trying your code the issue persists.
Not sure how to proceed, as I have tried to re-install clusterProfiler from the YuLab Github direct download and am still getting the error message. Again thanks so much for spending the time helping out! |
In the post you changed you posted:
Based on that output:
|
Fix #539
老师,我这次提交修改了kEGG pathway的API url
在KEGG的内容更新后,原有的keggmodule2name.df[,1] %<>% gsub("md:", "", .)等语句便不再需要了,我这次将它们注释掉了。
现在KEGG的download to gson file 和 enrichment 均可以正常使用。
Example:
test_KEGG.pdf