id_significant_proteins: Identify significant proteins

View source: R/id_enriched_proteins.R

id_significant_proteinsR Documentation

Identify significant proteins

Description

Identify significant proteins based in input thresholds.

Usage

id_significant_proteins(
  df,
  logfc_dir = "positive",
  logfc_cutoff = NULL,
  p_cutoff = NULL,
  fdr_cutoff = 0.1
)

Arguments

df

data.frame containing logFC, pvalue, and FDR columns

logfc_dir

string indicating direction of logFC cutoff ("positive" or "negative")

logfc_cutoff

numeric value indicating logFC cutoff

p_cutoff

numeric value indicating pvalue cutoff

fdr_cutoff

numeric value indicating FDR cutoff

Value

data.frame containing df + signficanct column of boolean values indicating which df rows (proteins) are significant according to FDR correction.


lagelab/Genoppi documentation built on Oct. 13, 2022, 2:36 p.m.