Description Usage Arguments Details Value Examples
The function returns the given top number of predicted results along with true interactions.
1 | getTopresults(A, P, top = 10, druglist = NULL)
|
A |
Drug target association matrix. |
P |
Drug target predicted matrix. |
top |
top number of predicted targets. |
druglist |
It accepts a vector of drugnames for which results will return |
Get top predicted results.
it returns a list of aucc,auc, bedorc,enrichment factor and auc (top 10
1 2 3 4 5 6 7 8 9 10 | data(Enzyme)
A = enzyme_ADJ
S1 = enzyme_Gsim
S2= enzyme_Csim
## Running the netcombo algorithm.
P <- netCombo(g1,s1=S1,s2=S2,nbi.alpha=0.5,nbi.lamda=0.5,par=TRUE)
result = getTopresults(A,P,top=10,druglist=NULL)
## Getting result from a drug list.
drugs = c("D00014","D00018", "D00029", "D00036","D00045","D00049")
result = getTopresults(A,P,top=10,druglist=drugs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.