基因表达箱图并添加散点
2022-01-13 本文已影响0人
yingyonghui
ggplot(markers.exp, aes(x=Cluster, y=genePlot, color=Cluster)) +
geom_boxplot(width=0.6, lwd=0.6, fill="white", outlier.fill="white", outlier.color="white") +
geom_jitter(aes(fill=Cluster), width=0.18, shape=21, size=0.03) +
labs(x='',y='') +
theme(legend.position='none', axis.text=element_text(size=17), axis.title= element_text(size=17))