drawGraph: Draw graph function

Description Usage Arguments Value Author(s) References Examples

Description

A function to draw the target inhibition network.

Usage

1
drawGraph(draw_data)

Arguments

draw_data

a data frame combining drug-target interaction data with drug sensitivity. The column names must be upper case.

Value

An image in both pdf and nnf format of the estimated target inhibition network.

Author(s)

Jing Tang jing.tang@helsinki.fi

References

Tang J, Karhinen L, Xu T, Szwajda A, Yadav B, Wennerberg K, Aittokallio T. Target inhibition networks: predicting selective combinations of druggable targets to block cancer survival pathways. PLOS Computational Biology 2013; 9: e1003226.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
data(tyner_interaction_binary)
data(tyner_sensitivity)
y<-tyner_sensitivity[,1]
k_selected<-sffs(tyner_interaction_binary, y)$k_sel
x<-data.frame(tyner_interaction_binary[, k_selected])
#binarize the sensitivity data
one<-which(y>0.5)
zero<-which(y<=0.5)
SENS<-y
SENS[one]<-1
SENS[zero]<-0
draw_data<-cbind(x, SENS)
drawGraph(draw_data)

## End(Not run)

Example output



timma documentation built on May 2, 2019, 1:10 p.m.