calculate_adjp {iCOBRA} | R 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")

[Package iCOBRA version 1.10.0 Index]