p1 -ggplotdataAaescancerexpfill=cancer+ geom_violin+ coord_flip+ scale_fill_manualvalues = colors+ stat_summaryfun=meangeom = point shape = 19 size = 2 color = black+ theme_bw+ geo
报错原因:代码中缺少一个逗号,导致代码无法运行。
解决办法:在remove_y中添加逗号,即将remove_y修改为如下代码:
remove_y <- theme(
axis.text.y = element_blank(),
axis.ticks.length.y = element_blank(),
axis.title.y = element_blank(),
)
原文地址: https://www.cveoy.top/t/topic/dF23 著作权归作者所有。请勿转载和采集!