target.help: Transform a list of Pathway IDs into a binary matrix.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/target.help.R

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

1
target.help(genes)

Arguments

genes

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

Value

A p x 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

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

SHIP documentation built on May 29, 2017, 11:25 a.m.