I tried to construct the horizontal barplot for the GO data. The plot was working but i have a few concerns which are mentioned below- 1. How to adjust the bar width? 2. How to adjust the text size, and it's all coming in the bold letter (using the following code)? 3. How to remove grid from the plot? 4. And how to construct the alternative scatter plot for KEGG and GO, which shows P-value, gene count and Rich factor?
Below I have given the code I have used for horizontal bar plot.
library(DOSE)
data(geneList)
de <- names(geneList)[abs(geneList) > 2]
edo <- enrichDGN(de)
data1 <-read.delim("Combined GO.txt", header = TRUE, sep = "\t")
library(enrichplot)
barplot(edo, showCategory=30)