Learn R Programming

iCOBRA (version 1.0.2)

calculate_adjp: Calculate adjusted p-values

Description

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

Usage

calculate_adjp(cobradata, method = "BH")

Arguments

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

Value

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

Examples

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

Run the code above in your browser using DataLab