plot_sankey_de: Make a sankey plot showing how the number of genes deemed...

View source: R/de_plots.R

plot_sankey_deR Documentation

Make a sankey plot showing how the number of genes deemed significant is constrained.

Description

Ideally, this should show how adding various Fc/p-value constraints on the definition of 'significant' decreases the number of genes one is likely to look at.

Usage

plot_sankey_de(
  de_table,
  lfc = 1,
  p = 0.05,
  lfc_column = "deseq_logfc",
  p_column = "deseq_adjp"
)

Arguments

de_table

The result from combine_de_tables()

lfc

FC constraint.

p

P-value constraint.

lfc_column

Dataframe column from which to acquire the FC values.

p_column

Dataframe column from which to acquire the p-values.

Value

A fun sankey plot!


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.