BH_selection: BH selection

View source: R/BH_selection.R

BH_selectionR Documentation

BH selection

Description

Function to create a selection based on a set False Discovery Rate I used this function in combination with the association_study function.

Usage

BH_selection(data, p_value = "p.value", FDR_cutoff = 0.15, hist = FALSE)

Arguments

data

a data frame

p_value

character value of column containing the p values

FDR_cutoff

numerical value. FDR cutoff

hist

logical. Whether or not to create a histogram

Value

data frame with added columns with FDR and FDR selection


LDSamson/associationstudies documentation built on April 14, 2025, 11:52 a.m.