combine.weight: Combine p-values using weights

Description Usage Arguments Value Author(s) Examples

View source: R/metaseqr.meta.R

Description

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

Usage

1

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

1
2
p <- matrix(runif(300),100,3)
pc <- combine.weight(p,w=c(0.2,0.5,0.3))

pmoulos/metaseqr documentation built on Dec. 29, 2020, 5:56 a.m.