omicSim: Set the simulation settings for an omic.

Description Usage Arguments Value Examples

View source: R/MOSim.R

Description

Set the simulation settings for an omic.

Usage

1
2
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

1
2
3
4
5
6
7
8
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)

MOSim documentation built on Nov. 8, 2020, 5:50 p.m.