export_template {templateICAr} | R Documentation |
Export template
Description
Export the templates (mean and variance) as separate files for
visualization or processing outside of templateICAr
.
Usage
export_template(
x,
out_fname = NULL,
var_method = c("non-negative", "unbiased")
)
Arguments
x |
The result of |
out_fname |
Use |
var_method |
|
Value
If is.null(out_fname)
, the templates in data matrix,
"xifti"
, or "nifti"
format, to match the format of the
original BOLD data. Otherwise, the paths to the new files specified by
out_fname
.
Examples
## Not run:
tm <- estimate_template(cii1_fnames, cii2_fnames, gICA_fname)
export_template(tm, out_fname="my_template", var_method="unbiased")
## End(Not run)