simulate_null_3dttest | R Documentation |
helper class to generate 3dttest++ null datasets using -randomsign
helper class to generate 3dttest++ null datasets using -randomsign
new()
initialize a simulate_null_3dttest object to support 3dttest++ -randomsign
simulate_null_3dttest$new( residuals_file = NULL, mask_file = NULL, njobs = NULL, n_permutations = NULL, use_sdat = NULL, wall_time = NULL, memgb_per_3dttest = NULL, memgb_combine = NULL )
residuals_file
the 4D file containing voxelwise residuals for all subjects (e.g., res4d.nii.gz in FEAT)
mask_file
A mask file used to specify which voxels should be analyzed/permuted
njobs
The number of independent jobs across which permutations are distributed
n_permutations
The total number of null datasets to be computed by sign-flipping
use_sdat
a logical indicating whether to output null datasets in sdat format (single-precision, serialized, I think)
wall_time
The amount of compute time needed for this job as a dd-hh:mm:ss string
memgb_per_3dttest
The number of gigabytes of memory requested for each 3dttest++ permutation process. If not specified, 8 will be requested
memgb_combine
The number of gigabytes of memory requested for the parent 3dttest++ job that combines permutation outputs. If not specified, 32 will be requested
is_complete()
test whether the expected outputs of the permutation are complete
simulate_null_3dttest$is_complete()
a boolean indicating whether the expected output file exists
submit()
submit the permutation job to the cluster
simulate_null_3dttest$submit(force = FALSE)
force
whether to run the permutation job even if the outputs are already complete method to return R_batch_job to run 3dttest permutations
get_3dttest_calls()
simulate_null_3dttest$get_3dttest_calls(include_complete = FALSE)
get_permutation_files()
simulate_null_3dttest$get_permutation_files()
get_batch()
simulate_null_3dttest$get_batch()
get_use_sdat()
simulate_null_3dttest$get_use_sdat()
clone()
The objects of this class are cloneable with this method.
simulate_null_3dttest$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.