Learn R Programming

BioNet (version 1.32.0)

aggrPvals: Aggregate several p-values into one p-value

Description

The function aggregates several p-values into one p-value of p-values based on the order statistics of p-values. An overall p-value is given by the ith order statistic.

Usage

aggrPvals(pval.matrix, order, plot=TRUE)

Arguments

pval.matrix
Numeric matrix of p-values, columns represent different sets of p-values
order
Numeric constant, the order statistic that is used for the aggregation.
plot
Boolean value whether to plot p-value distributions.

Value

Aggregated p-value of the given order.

Examples

Run this code
data(pvaluesExample)
aggrPvals(pval.matrix=pvaluesExample, order=2)

Run the code above in your browser using DataLab