I try to simulate a bulk multi-omics data with RNA-seq and Methyl-seq. The code is as follow:
library(MOSim)
omics_list <- c("RNA-seq", "Methyl-seq")
omics_options <- c(
omicSim("RNA-seq", totalFeatures = 1000),
# omicSim("miRNA-seq", totalFeatures = 1000)
omicSim("Methyl-seq", totalFeatures = 2000)
)
set.seed(123)
omics_simulation <- mosim(
omics = omics_list,
omicsOptions = omics_options,
times = 0, numberGroups = 4, numberReps = 100
)
However, I get the following error:
[Pregenerated replicate] Simulating count values for group 4.
error in `[.data.frame`(object@simData, , columnReorder):
undefined columns selected
How can I to solve this error? The version of installed MOSim package is 2.1.1.
I try to simulate a bulk multi-omics data with RNA-seq and Methyl-seq. The code is as follow:
However, I get the following error:
How can I to solve this error? The version of installed MOSim package is 2.1.1.