omicSim: Set the simulation settings for an omic.

View source: R/MOSim.R

omicSimR 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", "miRNA-seq")

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

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


Neurergus/MOSim documentation built on Feb. 23, 2024, 8:29 a.m.