simu.multi: simu.multi

Description Usage Arguments Value Author(s)

Description

A function for generating simulated gene expression data

Usage

1
2
simu.multi(Gnull, Gsig, Ntrain, Ntest, SDgenemu = 5, DFgenesd = 1, Clow = 2, Cup = Inf, 
MuShift, SDshift = 0, SDshift = 0.5, seed = 15232, label = c(-1,1)) 

Arguments

Gnull

number of null genes

Gsig

number of significant genes

Ntrain

a vector for number of training samples for each class (can be multi-class)

Ntest

a vector for number of testing samples (same length with Ntrain)

SDgenemu

SD for null gene mu value

DFgenesd

degree of free for null gene SD

Clow

significant gene shift lower bound

Cup

significant gene shift upper bound

MuShift

test shift mean value

SDshift

test shift SD value

seed

seed for random number

Value

Xtrain

training expression table, gene by sample

Ytrain

training outcome label

Xtest

testing expression table, gene by sample

Ytest

testing outcome label

sigIndex

significant gene index, TRUE for sig and FALSE for non-sig

geneMu

gene mu value, a gene-by-group matrix

geneSD

gene SD value, a vector with length of gene

Author(s)

Kelly Cahill, Masaki Lin, Silvia Liu


KellyCahill/rfTSP documentation built on May 21, 2019, 1:41 p.m.