theme_taxbar {MicrobiotaProcess} | R Documentation

## theme_taxbar

### Description

theme_taxbar

### Usage

    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"),
      ...
    )

### Arguments

`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

### Value

updated ggplot object with new theme

### See Also

`theme`

### Examples

    library(ggplot2)
    data(test_otu_data)
    otubar <- ggbartax(test_otu_data, settheme=FALSE) +
        xlab(NULL) + ylab("relative abundance(%)") +
        theme_taxbar()

[Package MicrobiotaProcess version 1.0.5 Index]