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 April 1, 2024, 8:30 a.m.