Description Usage Arguments Value Author(s) References Examples
A function to draw the target inhibition network.
1 | drawGraph(draw_data)
|
draw_data |
a data frame combining drug-target interaction data with drug sensitivity. The column names must be upper case. |
An image in both pdf and nnf format of the estimated target inhibition network.
Jing Tang jing.tang@helsinki.fi
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.