axis.title.y.right=element_text(angle=-90,margin=margin(l=6),vjust=0),axis.ticks.length=unit(3,"pt"),axis.ticks=element_line(colour="grey85",size=.3),panel.grid=element_blank(),panel.border=element_rect(colour="grey85",fill=NA,size=rel(1)),panel.background=element_rect(fill='#3...
看一下100 例 P值的分布: m1_df %>% ggplot(aes(x=pvalue,y=genes))+geom_bar(stat = 'identity',aes(fill=ifelse(pvalue<0.05,'darkred','lightblue')),width=0.5)+geom_vline(xintercept=0.05,color='darkred',lty=2)+#theme_classic(base_size=15)+...
precision(float, default 0.01) – iterate until the sum of all overlaps along both x and y are less than this amount, as a fraction of the total widths and heights, respectively. May need to increase for complicated situations. only_move(dict, default {‘points’:’xy’, ‘text’:’xy...
ggplot(aes(x = as.numeric(month), y = aveTemperature), data = df) + geom_line( ) + ggtitle("Temperature by month") which results in the following chart: This isn’t bad but it’d be much nicer if we could have the month names along the bottom in...