Skip to contents

Creates a dot plot showing fold enrichment and significance of differentially expressed NMF programs across cell types, similar to gene expression dot plots.

Usage

plotDEPsDots(
  deps_results,
  fold_threshold = 1.2,
  pval_threshold = 0.05,
  top_programs = 20
)

Arguments

deps_results

List of DataFrames from FindAllDEPs()

fold_threshold

Numeric, minimum fold enrichment to display (default 1.2)

pval_threshold

Numeric, maximum p-value to display (default 0.05)

top_programs

Integer, maximum number of programs to show (default 20)

Value

A ggplot object

Examples

deps <- FindAllDEPs(sce, "cell_type")
#> Error: object 'sce' not found
plotDEPsDots(deps)
#> Error in h(simpleError(msg, call)): error in evaluating the argument 'args' in selecting a method for function 'do.call': error in evaluating the argument 'X' in selecting a method for function 'lapply': object 'deps' not found