calculate_adjp: Calculate adjusted p-values

View source: R/helpers_general.R

calculate_adjpR Documentation

Calculate adjusted p-values

Description

Calculate adjusted p-values for methods where only nominal p-values are available in a COBRAData object.

Usage

calculate_adjp(cobradata, method = "BH")

Arguments

cobradata

A COBRAData object.

method

A character string giving the method (selected from p.adjust.methods()) that will be used to perform the adjustment.

Value

A COBRAData object, extended with the calculated adjusted p-values.

Author(s)

Charlotte Soneson

Examples

data(cobradata_example)
cobradata_example <- calculate_adjp(cobradata_example, method = "BH")

markrobinsonuzh/iCOBRA documentation built on March 28, 2024, 2:01 p.m.