View source: R/getSimCohortReplicate.R
Generate a simulation cohort replicates
1 2 3 4 5 6 7 8 9 10 11 12 13 | getSimCohortReplicate(
mask.img,
background.img,
R,
N,
Ks,
locations,
sizes,
ints,
parallel = FALSE,
cores = 1,
seed = 1
)
|
mask.img |
Maksed image |
background.img |
Image to be used to generate the normal state |
R |
Number of replicates to generate |
N |
Number of images to be generated to this cohort |
Ks |
Vector of number of clusters to be simulated |
locations |
Location of clusters to be simulated |
sizes |
Size of clusters to be simulated |
ints |
How high the clusters value should be |
parallel |
Parallel the code or not |
cores |
Number of cores for parallelization |
seed |
Setting a seed for reproducibility |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.