I have assigned KO numbers to my assembled transcriptome and would like to generate a KEGG pathway classification with x axis show gene numbers and percentage for each different terms. There seems exist a standard format for the chart that people use for publication. I would like to know the tool they use to make this chart.
Hi @dongchenchen, was wondering if you were able to crack the R-code for this KEGG pathway classification chart. Pls post it here in case you were able to make one Thanks!
Hi, I think python package might help to draw such like of image.
Yes. I was able to generate the graph live above. For the plotting part, Excel is enough. ggplot for R or Matplotlib for Python would do fair job as well. My initial difficulty was to prepare data ready to generate graph from the raw annotation exported from KEGG website. I wrote a python script to group the annotation result in desired level (B level in my case). And then did the counting after uniquely sorted them.
If you don't mind, share your details working script here!
In case when multiple genome sequences used.. how to interprete the data from KEGG plot and COG plot?