simInfo | R Documentation |
simInfo object store specific information of one simulation study.
Details: simInfo object store specific information of one simulation study.
simName
[character] Name of the simulation study
simGeno
[logical] Simulate marker genotype or not
simPheno
[logical] Simulate phenotypic values or not
nSimGeno
[numeric] Number of simulations for generating marker genome
nSimPheno
[numeric] Number of simulations for pseudo phenotypic values
nCoreMax
[numeric] Number of cores you can use for this simulation study
nCorePerGeno
[numeric] Number of cores used per simulation of marker genotype (optional)
nCorePerPheno
[numeric] Number of cores used per simulation of phenotypic values (optional)
saveDataFileName
[character] The name of the file (including path) that saves the data (if NULL, the data won't be saved)
new()
Create a new simInfo object.
simInfo$new( simName = "Simulation Example", simGeno = TRUE, simPheno = TRUE, nSimGeno = NA, nSimPheno = NA, nCoreMax = NA, nCorePerGeno = NA, nCorePerPheno = NA, saveDataFileName = NULL, verbose = TRUE )
simName
[character] Name of the simulation study
simGeno
[logical] Simulate marker genotype or not
simPheno
simPheno [logical] Simulate phenotypic values or not
nSimGeno
[numeric] Number of simulations for generating marker genome (optional)
nSimPheno
[numeric] Number of simulations for pseudo phenotypic values (optional)
nCoreMax
[numeric] Number of cores you can use for this simulation study (optional)
nCorePerGeno
[numeric] Number of cores used per simulation of marker genotype (optional)
nCorePerPheno
[numeric] Number of cores used per simulation of phenotypic values (optional)
saveDataFileName
[character] The name of the file (including path) that saves the data (if NULL, the data won't be saved) (optional)
verbose
[logical] Display info (optional)
A new 'simInfo' object.
mySimInfo <- simInfo$new(simName = "Simulation Example", simGeno = TRUE, simPheno = TRUE, nSimGeno = 1, nSimPheno = 3, nCoreMax = 4, nCorePerGeno = 1, nCorePerPheno = 3, saveDataFileName = NULL) print(mySimInfo)
print()
Display information about the object
simInfo$print()
clone()
The objects of this class are cloneable with this method.
simInfo$clone(deep = FALSE)
deep
Whether to make a deep clone.
## ------------------------------------------------
## Method `simInfo$new`
## ------------------------------------------------
mySimInfo <- simInfo$new(simName = "Simulation Example",
simGeno = TRUE,
simPheno = TRUE,
nSimGeno = 1,
nSimPheno = 3,
nCoreMax = 4,
nCorePerGeno = 1,
nCorePerPheno = 3,
saveDataFileName = NULL)
print(mySimInfo)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.