GenerateData: Generate data from extended model.

Description Usage Arguments Value Author(s) See Also Examples

View source: R/epiN.R

Description

Given a model created from CreateTopology and ExtendTopology, this function creeates acorresponding artificial data matrix, which is used as a ground truth for simulation studies.

Usage

1
GenerateData(model, extTopology, FPrate, FNrate, replicates)

Arguments

model

model of a topology from CreateTopology

extTopology

extended topology

FPrate

false positive rate

FNrate

false negative rate

replicates

number of replicates

Value

data matrix with effect reporters as rows and knock-downs (including double kock-downs) as columns.

Author(s)

Madeline Diekmann

See Also

CreateTopology

Examples

1
2
3
4
5
6
7
8
topology <-
CreateTopology(3, 1, force = TRUE)
topology <-
unlist(unique(topology), recursive = FALSE)
extTopology <-
ExtendTopology(topology$model, 100)
sortedData <-
GenerateData(topology$model, extTopology, 0.05, 0.13, 3)

epiNEM documentation built on Nov. 8, 2020, 6:51 p.m.