filter_degs: Filter DEGs

View source: R/degs.R

filter_degsR Documentation

Filter DEGs

Description

Filter DEGs

Usage

filter_degs(
  degs,
  bh_threshold = Inf,
  logfc_threshold = 0,
  excluded_patterns = NULL
)

Arguments

degs

Data table containing DEGs. Expecting format like the output of read_degs()

bh_threshold

maximum BH corrected p value

logfc_threshold

Minimum log fold change value

excluded_patterns

List of regex patterns to exlude genes

Examples

'path/to/file' |> read_degs() |> filter_degs(logfc_threshold = 0.25, excluded_patterns = c("^RP", "^XIST$"))

gatelabNW/gater documentation built on Sept. 18, 2022, 12:51 p.m.