intersectDfsNames: Extract subset data frames with the same row or column names...

Description Usage Arguments Value Examples

View source: R/utils.R

Description

Extract subset data frames with the same row or column names by the same order.

Usage

1
intersectDfsNames(..., MARGIN = c(1, 2))

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.