Description Usage Arguments Value Examples
Performs a multiomic simulation by chaining two actions: 1) Creating the "MOSimulation" class with the provided params. 2) Calling "simulate" method on the initialized object.
1 2 |
omics |
Character vector containing the names of the omics to simulate, which can be "RNA-seq", "miRNA-seq", "DNase-seq", "ChIP-seq" or "Methyl-seq" (e.g. c("RNA-seq", "miRNA-seq")). It can also be a list with the omic names as names and their options as values, but we recommend to use the argument omicSim to provide the options to simulated each omic. |
omicsOptions |
List containing the options to simulate each omic. We recommend to apply the helper method omicSim to create this list in a friendly way, and the function omicData to provide custom data (see the related sections for more information). Each omic may have different configuration parameters, but the common ones are:
|
diffGenes |
Number of differentially expressed genes to simulate, given in percentage (0 - 1) or in absolute number (> 1). By default 0.15 |
numberReps |
Number of replicates per experimetal condition (and time point, if time series are to be generated). By default 3. |
numberGroups |
Number of experimental groups or conditions to simulate. |
times |
Vector of time points to consider in the experimental design. |
depth |
Sequencing depth in millions of reads. |
profileProbs |
Numeric vector with the probabilities to assign each of the patterns. Defaults to 0.2 for each. |
minMaxFC |
Numeric vector of length 2 with minimum and maximum fold-change for differentially expressed features, respectively. |
TFtoGene |
A logical value indicating if default transcription factors data should be used (TRUE) or not (FALSE), or a 3 column data frame containing custom associations. By default FALSE. |
Instance of class "MOSimulation" containing the multiomic simulation data.
1 2 3 4 5 6 7 8 | moSimulation <- mosim(
omics = c("RNA-seq"),
numberReps = 3,
times = c(0, 2, 6, 12, 24)
)
# Retrieve simulated count matrix for RNA-seq
dataRNAseq <- omicResults(moSimulation, "RNA-seq")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.