Description Usage Arguments Value See Also Examples
View source: R/plot-ggbartaxa.R
theme_taxbar
1 2 3 4 5 6 7 8 9 10 | 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
1 2 3 4 5 | library(ggplot2)
data(test_otu_data)
otubar <- ggbartax(test_otu_data, settheme=FALSE) +
xlab(NULL) + ylab("relative abundance(%)") +
theme_taxbar()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.