Learn R Programming

DrugSim2DR (version 0.1.2)

CalDEscore: CalDEscore

Description

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

Usage

CalDEscore(exp, Label)

Value

A matrix with one column of zscore.

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.

Examples

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

Run the code above in your browser using DataLab