-
Notifications
You must be signed in to change notification settings - Fork 3
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
add sub-category information of the KEGG pathways #5
Comments
A function embedding KEGG api (https://rest.kegg.jp/get/) could be used to get the classification info of a KEGG term with the given ID. However, the purpose of this function is to keep the classification info updated, it is effective, but not so high-efficient. Still, handle things locally is more elegant.
|
Now the category of a certain kegg term can be extracted by the help of the referred url ("https://pathview.uncc.edu/data/khier.tsv"). ''' getKEGG_cat <- function(ID, k_info) { getKEGG_cat(ID = "mmu04380", k_info = k.info) ''' |
@Potato-tudou pls learn how to format your code first. Refer to point 2 mentioned by Yonghe, #1 (comment). |
|
I think it's better to use the result of enrichKEGG() as an input. So here it is:
|
see also YuLab-SMU/clusterProfiler#236. |
KEGG can be divided into 7 categories, see https://www.genome.jp/kegg/pathway.html.
It is easy to incorporate this information in the
enrichKEGG()
andgseaKEGG()
results, so that we can use this information to filter the results or to differentiate the pathways for visualization.reference: https://mp.weixin.qq.com/s/17ujVhcrkX1DLsUJBtUGEw.
The text was updated successfully, but these errors were encountered: