createGSEAinput: create gct file and cls files

Description Usage Arguments Value Examples

View source: R/GSEA.R

Description

create gct file and cls file for GSEA according the expression matrix and group information

Usage

1
createGSEAinput(exprSet, groupList, prefix = "GSEA", destDir = ".")

Arguments

exprSet

a expression matrix, which columns are sample,rows are HUGO gene symbols, or probeset ID .

groupList

a vector,as long as the col number for the expression matrix,which describe the group for the samples in exprSet

prefix

The prefix for gct file and cls files.

destdir

where to store the files just download.

Value

A list of writed 2 files which are the input for GSEA (gct and cls format) * 'gctFile' - The saved path of GCT format file * 'clsFile' - The saved path of CLS format file

Examples

1
createGSEAinput(exprSet = matrix(rnorm(1000), ncol = 10, nrow = 100), groupList = c(1, 1, 1, 1, 1, 2, 2, 2, 2, 2), 'GSE1009')

lihuamei/Biotools documentation built on July 15, 2020, 1:50 a.m.