targetGpos {SHIP}R Documentation

Computation of the target Gpos.

Description

The p \times p target Gpos is computed from the n \times p data matrix. It it a modified version of target G. In particular, it completely ignores negative correlations and computes the mean correlation \bar{r} using the positive ones only.

Usage

targetGpos(x, genegroups)

Arguments

x

A n \times p data matrix.

genegroups

A list of genes obtained using the database KEGG, where each entry itself is a list of pathway names this genes belongs to. If a gene does not belong to any gene functional group, the entry is NA.

Value

A p \times p matrix.

Author(s)

Monika Jelizarow and Vincent Guillemot

References

See Also

targetCor, targetF, targetG, targetGstar, targetGpos.

Examples


# A short example on a toy dataset
# require(SHIP)
data(expl)
attach(expl)
tar <- targetGpos(x,genegroups)
which(tar[upper.tri(tar)]!=0) # not many non zero coefficients !


[Package SHIP version 2.0.3 Index]