makeExpressionSet: Convert data.frame into ExpressionSet Object.

Description Usage Arguments Value Author(s) Examples

Description

Convert data.frame into ExpressionSet Object.

Usage

1

Arguments

dat

a data.frame with gene in row, sample in column

state

sample state. For multi instances.

Value

an ExpressionSet object

Author(s)

Zhilong Jia

Examples

1
2
3
4
5
6
7
8
9
dat <- data.frame(d1=1:600, D1=600:1, d2=sample(600))
datExp <- makeExpressionSet(dat, state=c("d", "D", "d"))

# Only for rankMerging
MergingSet <- RankMerging(datExp,"Spearman",weighted=TRUE)
#ds <- ScoreGSEA(datExp, 250)
#ds1 <- ScorePGSEA(datExp, 250)
#ds2 <- ScoreGSEA(MergingSet, 250)
#ds3 <- ScorePGSEA(MergingSet, 250)

zhilongjia/GeneExpressionSignature documentation built on May 4, 2019, 11:21 p.m.