topDEGBarplot: This function will create a barplot of the top differentially...

View source: R/topDEGBarplot.R

topDEGBarplotR Documentation

This function will create a barplot of the top differentially expressed genes per cluster

Description

This function will create a barplot of the top differentially expressed genes per cluster

Usage

topDEGBarplot(
  dex_df,
  n_degs = 25,
  presto = FALSE,
  fc_line = 0.25,
  title = paste0("Top ", n_degs, " DEGs")
)

Arguments

dex_df

A dataframe of differentially expressed genes

n_degs

The number of differentially expressed genes to plot per cluster

presto

Logical value to determine if the dataframe is from presto

fc_line

The fold change line to plot

Value

A barplot of the top differentially expressed genes per cluster

Examples

## Not run: 
topDEGBarplot(DEWilcox)

## End(Not run)


odavalos/scGrabBag documentation built on Jan. 15, 2025, 11:45 p.m.