target.help {SHIP}R Documentation

Transform a list of Pathway IDs into a binary matrix.

Description

This function is an internal function used to transform the given list of p (one vector of pathway IDs per gene) groups into a binary matrix.

Usage

target.help(genes)

Arguments

genes

List of p items. Each item is the vector of Pathway IDs a gene belongs to.

Value

A p \times p binary matrix: the coefficient (i,j) is 1 if genes i and j belong to a common pathway and 0 otherwise. This is an internal function called by for example targetG.

Author(s)

Monika Jelizarow and Vincent Guillemot

See Also

targetF,targetG,targetGpos, targetGstar.

Examples


g1 <- c("path1", "path2", "path3", "path4")
g2 <- c("path5", "path6", "path3", "path11")
g3 <- c("path10", "path5", "path12", "path13")
target.help(list(g1, g2, g3)) 



[Package SHIP version 2.0.3 Index]