Learn R Programming

SubtypeDrug (version 0.1.5)

CalculateSES: SubtypeDrug internal function

Description

Calculate subpathway enrichment score.

Usage

CalculateSES(labels.list, correl.vector = NULL)

Value

A vector.

Arguments

labels.list

A vector of 0 and 1.

correl.vector

A vector. The weight value used to calculate the enrichment score.

Author

Xudong Han, Junwei Han, Chonghui Liu

Details

CalculateSES

Examples

Run this code
x<-CalculateSES(sample(c(0,1),10,replace = TRUE),c(1:10))

Run the code above in your browser using DataLab