Description Usage Arguments Value Examples
Run the algorithm with the specified values for the evolution parameters
1 | mogamun_run(LoadedData, Cores = 1, NumberOfRunsToExecute = 1, ResultsDir = ".")
|
LoadedData |
list returned by mogamun_load_data() |
Cores |
to run MOGAMUN in parallel on the given number of cores (in line with the number of physical processor cores) (default = 1) |
NumberOfRunsToExecute |
number of runs (default = 1) |
ResultsDir |
outputs the results in the specified folder |
None
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | DEGPath <- system.file("extdata/DE/Sample_DE.csv", package = "MOGAMUN")
NodesScoresPath <-
system.file("extdata/DE/Sample_NodesScore.csv", package = "MOGAMUN")
LayersPath <-
paste0(system.file("extdata/LayersMultiplex", package = "MOGAMUN"), "/")
EvolutionParameters <- mogamun_init(Generations = 1, PopSize = 10)
LoadedData <-
mogamun_load_data(
EvolutionParameters = EvolutionParameters,
DifferentialExpressionPath = DEGPath,
NodesScoresPath = NodesScoresPath,
NetworkLayersDir = LayersPath,
Layers = "23"
)
ResultsDir <- system.file("SampleResults", package="MOGAMUN")
mogamun_run(
LoadedData = LoadedData,
Cores = 1,
NumberOfRunsToExecute = 1,
ResultsDir = ResultsDir
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.