gelDiff: Laplace p-value matrix

View source: R/gelFuncs.R

gelDiffR Documentation

Laplace p-value matrix

Description

Obtain a p-value matrix of the laplace distributed difference between two different outputs of the gelMatrix function. If twoTailed == FALSE, the p-value describes correlations that are more significant in the first gelMatrix than the second.

Usage

gelDiff(gm1, gm2, twoTailed = FALSE, unifOut = FALSE)

Arguments

gm1

The first gelMatrix

gm2

The second gelMatrix

twoTailed

Whether to make the resulting p-values two-tailed

unifOut

Whether to force the output to the uniform distribution

Value

A p-value matrix of the same dimensions as the each input gelMatrix. This matrix may be used in place of gelMatrix for any function in this package.

Author(s)

Anooj Arkatkar

See Also

gelMatrix

Examples

data(foldChange)

# Compare the networks between two sets of samples
gm1 <- gelMatrix(foldChange[,1:7])
gm2 <- gelMatrix(foldChange[,8:14])

gd <- gelDiff(gm1, gm2, twoTailed=TRUE)

aarkatkar/gelClust documentation built on May 6, 2022, 12:24 a.m.