Learn R Programming

DrugSim2DR (version 0.1.2)

DrugSimscore: DrugSimscore

Description

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

Usage

DrugSimscore(DE,nperm = 0)

Value

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

Arguments

DE

A matrix with one column of zscore.

nperm

Number of random permutations (default: 0).

Examples

Run this code
# 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)

Run the code above in your browser using DataLab