Learn R Programming

Umpire (version 2.0.11)

NormalVsCancer: Simulating Cancer Versus Normal Datasets

Description

These functions are useful for simulating data that compares a homogeneous "cancer" group to a homogeneous "normal" group of samples.

Usage

NormalVsCancerModel(nBlocks, survivalModel=NULL, name="NormalVsCancer")
NormalVsCancerEngine(nBlocks, hyperp)

Arguments

nBlocks

scalar integer representing number of correlated blocks that are differentially expressed between cancer and normal

survivalModel

a SurvivalModel object

name

character string specifying name of the object being created

hyperp

object of class BlockHyperParameters that describes the block correlation structure.

Author

Kevin R. Coombes krc@silicovore.com, Jiexin Zhang jiexinzhang@mdanderson.org,

Details

The simplest simulation model assumes that we are comparing two homogeneous groups.

See Also

BlockHyperParameters, CancerEngine, CancerModel

Examples

Run this code
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