DrugSimscore {DrugSim2DR} | R Documentation |
The function "DrugSimscore" is used in calculating the drug functional similarity score.
DrugSimscore(DE,nperm = 0)
DE |
A matrix with one column of zscore. |
nperm |
Number of random permutations (default: 0). |
A dataframe with four columns those are drug1, drug2, drug1 name, drug2 name, functional similarity score and FDR.
# Obtain the example data
GEP<-Gettest("GEP")
label<-Gettest("label")
# Run the function
DEscore<-CalDEscore(GEP,label)
# Run the function
drug_drug<-DrugSimscore(DE=DEscore,nperm = 0)