This is the example to give a barplot with a gap in the y-axis so that more detail can be seen for small value group.
# datasummary for each subgroup
library("plotrix")
twogrp<-c(rnorm(10)+4,rnorm(10)+20)
twogrp
## [1] 5.424423 3.428004 2.857809 4.768728 3.528250 3.736689 4.052114
## [8] 3.551114 3.739647 2.995361 20.590435 19.852429 21.037723 19.465891
## [15] 20.707158 19.711123 19.725072 19.870170 20.581162 19.764243
gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group values",main="Barplot with gap")
gap.barplot(twogrp,gap=c(8,16),xlab="Index",ytics=c(3,6,17,20),ylab="Group values",horiz=TRUE,main="Horizontal barplot with gap")
However, In my MONOD project, there are errorbar in my barplot, I don’t know how to do it. Therefore, I just set high values as a not big value. For example, for majority group the average mean would be 0.01 to 0.09 and maybe some groups would be 0.9 to 1, then you can set the group of 0.9 to 1 to 0.3 and then give a white-space among the figure with illustrator.The figure would be like this way.