deseq2_plot: Plot DESeq2 analysis

View source: R/diff_abun.R

deseq2_plotR Documentation

Plot DESeq2 analysis

Description

Plots results from DESeq2 analysis

Usage

deseq2_plot(
  deseq2_result,
  title,
  label_taxlev,
  top_hits = 10,
  fdr = 0.05,
  fc = 2,
  size = 2,
  alpha = 0.3
)

Arguments

deseq2_result

deseq2 object

title

Title of the plot

label_taxlev

Taxonomic label for the top hits

top_hits

Top hits which should be labled

fdr

single numeric. false discovery rate

fc

single numeric. fold change

size

single numeric

alpha

single numeric.

Value

ggplot object

Examples

data("mice_B6_N")
deseq2_res <- deseq2_analysis(mice_B6_N, "Mircobiota")
deseq2_plot(deseq2_res, "Deseq", "Family")

ericjcgalvez/MicrobiomeWrangler documentation built on April 14, 2022, 6:33 p.m.