powered by
These functions are useful for simulating data that compares a homogeneous "cancer" group to a homogeneous "normal" group of samples.
NormalVsCancerModel(nBlocks, survivalModel=NULL, name="NormalVsCancer") NormalVsCancerEngine(nBlocks, hyperp)
scalar integer representing number of correlated blocks that are differentially expressed between cancer and normal
a SurvivalModel object
SurvivalModel
character string specifying name of the object being created
object of class BlockHyperParameters that describes the block correlation structure.
BlockHyperParameters
Kevin R. Coombes krc@silicovore.com, Jiexin Zhang jiexinzhang@mdanderson.org,
The simplest simulation model assumes that we are comparing two homogeneous groups.
BlockHyperParameters, CancerEngine, CancerModel
CancerEngine
CancerModel
nvc <- NormalVsCancerModel(10) summary(nvc) rand(nvc, 10) rand(nvc, 10, balance=TRUE) engine <- NormalVsCancerEngine(10) dset <- rand(engine, 10, balance=TRUE)
Run the code above in your browser using DataLab