GenerateData {epiNEM} | R Documentation

## Generate data from extended model.

### 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

    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

    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)

[Package epiNEM version 1.14.1 Index]