getSimCohortReplicate: Generate a simulation cohort replicates

Description Usage Arguments

View source: R/getSimCohortReplicate.R

Description

Generate a simulation cohort replicates

Usage

 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
)

Arguments

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


calebae/Bowser documentation built on Dec. 19, 2021, 12:54 p.m.