eg:
ggplot(TZP_new,aes(x=Cell_type,y=Percentage,fill=Cell_type))+geom_bar(stat="identity")+coord_flip()+guides(fill?= F)
其中,corrd_flip()選項(xiàng)即為把圖像橫向的參數(shù)。
guides為調(diào)節(jié)圖例隱藏的參數(shù)。
eg:
ggplot(TZP_new,aes(x=Cell_type,y=Percentage,fill=Cell_type))+geom_bar(stat="identity")+coord_flip()+guides(fill?= F)
其中,corrd_flip()選項(xiàng)即為把圖像橫向的參數(shù)。
guides為調(diào)節(jié)圖例隱藏的參數(shù)。