define_de: define_de

View source: R/DESeq-result.R

define_deR Documentation

define_de

Description

This function would create a new column to define the differential expression

Usage

define_de(
  DEres,
  fold_change = "log2FoldChange",
  adj_pvalue = "padj",
  de_class = "regulate",
  fold_change_line = 1,
  adj_pvalue_line = 0.05
)

Arguments

DEres

a data.frame contains fold_change, adj_p columns

fold_change

a character, the name of column represented log2(fold change)

adj_pvalue

a character, the name of column represented p-value

de_class

a character, the name of created column represented differential expression

fold_change_line

a numeric, the threshold to define significant fold change

adj_pvalue_line

a numeric, the threshold to define significant p-value

Value

a dataframe


Feng-Zhang/RNAseqFlow documentation built on Sept. 10, 2022, 7:13 a.m.