CalDEscore {DrugSim2DR}R Documentation

CalDEscore

Description

Function "CalDEscore" uses gene expression to calculate differential expression level.

Usage

CalDEscore(exp, Label)

Arguments

exp

A gene expression profile of interest (rows are genes, columns are samples).

Label

A character vector consist of "0" and "1" which represent sample class in the gene expression profile. "0" means normal sample and "1" means disease sample.

Value

A matrix with one column of zscore.

Examples

# Obtain the example data
GEP<-Gettest("GEP")
label<-Gettest("label")
# Run the function
DEscore<-CalDEscore(GEP,label)

[Package DrugSim2DR version 0.1.1 Index]