plotDEGStackedBar: Stacked bar plot of DEGs

plotDEGStackedBarR Documentation

Stacked bar plot of DEGs

Description

Stacked bar plot of DEGs

Usage

plotDEGStackedBar(object, ...)

## S4 method for signature 'DESeqAnalysis'
plotDEGStackedBar(
  object,
  i = NULL,
  direction = c("both", "up", "down"),
  orderBySize = FALSE,
  label = TRUE,
  flip = TRUE
)

Arguments

object

Object.

i

character, numeric, or NULL. Names or range of results. If set NULL, include all results.

direction

character(1). Include "both", "up", or "down" directions.

orderBySize

logical(1). Order contrasts by DEG set size.

label

logical(1). Label the number of DEGs per contrast on the plot.

flip

logical(1). Flip x and y axes. Recommended for plots containing many samples.

...

Additional arguments.

Value

ggplot.

Note

Updated 2022-05-18.

Examples

data(deseq)

## DESeqAnalysis ====
plotDEGStackedBar(deseq)

steinbaugh/DESeqAnalysis documentation built on June 25, 2022, 7:29 a.m.