omicSim {MOSim} | R Documentation

## Set the simulation settings for an omic.

### Description

Set the simulation settings for an omic.

### Usage

    omicSim(omic, depth = NULL, totalFeatures = NULL,
      regulatorEffect = NULL)

### Arguments

`omic` | Name of the omic to set the settings.
`depth` | Sequencing depth in millions of counts. If not provided will take the global parameter passed to mosim function.
`totalFeatures` | Limit the number of features to simulate. By default include all present in the dataset.
`regulatorEffect` | only for regulatory omics. Associative list containing the percentage of effects over the total number of regulator, including repressor, association and no effect (NE).

### Value

A list with the appropiate structure to be given as options in mosim function.

### Examples

    omic_list <- c("RNA-seq")

    rnaseq_options <- omicSim("RNA-seq", totalFeatures = 2500)

    # The return value is an associative list compatible with
    # 'omicsOptions'
    rnaseq_simulation <- mosim(omics = omic_list,
                               omicsOptions = rnaseq_options)

[Package MOSim version 1.0.2 Index]