omicSim {MOSim} | R Documentation |
Set the simulation settings for an omic.
omicSim(omic, depth = NULL, totalFeatures = NULL, regulatorEffect = NULL)
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). |
A list with the appropiate structure to be given as options in mosim function.
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)