combine.weight {metaseqR} | 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

        combine.weight(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 <- combine.weight(p,w=c(0.2,0.5,0.3))

[Package metaseqR version 1.30.0 Index]