Description Usage Arguments Value
Uses the mask variable to create length(rs) spheres of size rs with values equal to betas within the mask. A random voxel is chosen within the mask and a sphere is placed at that location. The spheres are masked by the mask image so that no parameter values exist outside the mask.
1 2 3 4 5 6 7 8 9 |
simdirs |
Vector of simulation directories created by simSetup. |
simfunc |
Function to evaluate on the simulated data. |
simfuncArgs |
List of arguments passed to simfunc. |
mask |
mask image argument passed to genSimData. Only required for genSimData function if betaimg is not NULL or if method='synthetic' |
method |
method argument to generate sample data in genSimData. Data can be generated by bootstrapping or synthetically. |
ncores |
Number of cores to use. |
... |
Arguments passed to pbmclapply |
Returns the parameter image after writing it to file.path(outdir, 'signal.nii.gz').
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.