afni_3dfwhmx_list | R Documentation |
R6 class for running 3dFWHMx on a group of input files using a scheduler/cluster
R6 class for running 3dFWHMx on a group of input files using a scheduler/cluster
new()
create a new afni_3dfwhmx_list object
afni_3dfwhmx_list$new( input_files = NULL, mask_files = NULL, scheduler = NULL, wall_time = "10:00:00" )
input_files
A vector of input files that should each be passed to 3dFWHMx (usually first-level residuals)
mask_files
A vector of mask files corresponding to input_files
(i.e., these should align),
use to set the volume over which smoothness is estimated by 3dFWHMx
scheduler
The HPC scheduler to be used: 'local', 'slurm', or 'torque'. Default: 'slurm'
wall_time
The total time required to run all 3dFWHMx objects on the job scheduler/HPC
refresh()
recreate afni_3dfwhmx objects and completion status
afni_3dfwhmx_list$refresh(...)
...
Passes through any arguments to afni_3dfwhmx$new()
useful for updating job status and ACF params after a run completes
submit()
Submit the 3dFWHMx batch for all inputs to the scheduler
afni_3dfwhmx_list$submit(force = FALSE)
force
If TRUE
, completed 3dFWHMx runs will be included in the batch. Default: FALSE
get_batch()
Return R_batch_job objects used to submit 3dFWHMx for all inputs
afni_3dfwhmx_list$get_batch(include_complete = FALSE)
include_complete
If TRUE, complete 3dFWHMx jobs will be included in the batch, leading these to be re-run
get_acf_average()
method to calculate the overall ACF average across all input datasets
afni_3dfwhmx_list$get_acf_average(allow_incomplete_fwhmx = FALSE)
allow_incomplete_fwhmx
If TRUE
, the average will be calculated even if some datasets
do not have 3dFWHMx parameter estimates (e.g., if they crashed or were never run). Default. FALSE
.
a three-element vector containing the ACF estimates averaged across all datasets
get_acf_df()
return the 3dFWHMx results as a data.frame
afni_3dfwhmx_list$get_acf_df()
get_effective_fwhm()
return the effective FWHM estimated by 3dFWHMx -ACF
afni_3dfwhmx_list$get_effective_fwhm()
is_complete()
Simple method to return whether 3dFWHMx is complete for all input files
afni_3dfwhmx_list$is_complete()
returns TRUE
if 3dFWHMx has completed for all runs
clone()
The objects of this class are cloneable with this method.
afni_3dfwhmx_list$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.