combineWeight {metaseqR2} | R Documentation

## Combine p-values using weights

### Description

This function combines p-values from the various statistical tests supported by metaseqR using p-value weights.

### Usage

        combineWeight(p, w)

### Arguments

`p` | a p-value matrix (rows are genes, columns are statistical tests).
`w` | a weights vector, must sum to 1.

### Value

A vector of combined p-values.

### Author(s)

Panagiotis Moulos

### Examples

    p <- matrix(runif(300),100,3)
    pc <- combineWeight(p,w=c(0.2,0.5,0.3))

[Package metaseqR2 version 1.0.11 Index]