Description Usage Arguments Details Value Author(s) Examples
This function combines pvalues from the various statistical tests supported by metaseqR using pvalue weights.
1  combineHarmonic(p, w, zerofix = NULL)

p 
a pvalue matrix (rows are genes, columns are statistical tests). 
w 
a weights vector, must sum to 1. 
zerofix 

The argument zerofix
is used to correct for
the case of a pvalue which is equal to 0 as a result
of internal numerical and approximation procedures.
When NULL
, random numbers greater than 0 and
less than or equal to 0.5 are used to multiply the
offending pvalues with the lowest provided nonzero
pvalue, maintaining thus a virtual order of
significance, avoiding having the same pvalues for
two tests and assuming that all zero pvalues represent
extreme statistical significance. When a numeric
between 0 and 1, this number is used for the above
multiplication instead.
A vector of combined pvalues.
Panagiotis Moulos
1 2  p < matrix(runif(300),100,3)
pc < combineHarmonic(p,w=c(0.2,0.5,0.3))

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.