dot-addRegulationInformationAndFilterDEGs: .addRegulationInformationAndFilterDEGs

.addRegulationInformationAndFilterDEGsR Documentation

.addRegulationInformationAndFilterDEGs

Description

a helper function for PseudobulkingBarPlot to tag genes as up- or down-regulated and check for uniqueness of differential gene expression across the contrasts.

Usage

.addRegulationInformationAndFilterDEGs(
  tibble,
  logFC_threshold = 1,
  FDR_threshold = 0.05
)

Arguments

tibble

a (presumably large) tibble from dplyr containing the results of RunFilteredPseudobulkingContrasts

logFC_threshold

The minimum value for a gene's absolute value of log fold change to be considered differentially expressed.

FDR_threshold

The maximum value for a gene's FDR to be considered differentially expressed.

Value

a tibble with the uniqueness and direction of regulation for each gene stored in tibble$regulation


bimberlabinternal/CellMembrane documentation built on Dec. 20, 2024, 11:13 p.m.