DrugSimscore {DrugSim2DR}R Documentation

DrugSimscore

Description

The function "DrugSimscore" is used in calculating the drug functional similarity score.

Usage

DrugSimscore(DE,nperm = 0)

Arguments

DE

A matrix with one column of zscore.

nperm

Number of random permutations (default: 0).

Value

A dataframe with four columns those are drug1, drug2, drug1 name, drug2 name, functional similarity score and FDR.

Examples

# 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)

[Package DrugSim2DR version 0.1.1 Index]