theme_taxbar {MicrobiotaProcess} | R Documentation |
theme_taxbar
theme_taxbar( axis.text.x = element_text(angle = -45, hjust = 0, size = 12), legend.position = "bottom", legend.box = "horizontal", legend.text = element_text(size = 8), legend.title = element_blank(), strip.text.x = element_text(size = 12, face = "bold"), strip.background = element_rect(colour = "white", fill = "grey"), ... )
axis.text.x |
element_text, x axis tick labels. |
legend.position |
character, default is "bottom". |
legend.box |
character, arrangement of legends, default is "horizontal". |
legend.text |
element_text, legend labels text. |
legend.title |
element_text, legend title text |
strip.text.x |
element_text, strip text of x |
strip.background |
element_rect, the background of x |
... |
additional parameters |
updated ggplot object with new theme
library(ggplot2) data(test_otu_data) otubar <- ggbartax(test_otu_data, settheme=FALSE) + xlab(NULL) + ylab("relative abundance(%)") + theme_taxbar()