Obtain values from voistat files (using load_voistat() for a batch.
Source:R/batches.R
batch_voistat.Rd
For a vector of participant IDs and correspondingly named .voistat files, this extracts the value from the files for the specified ROIs. participants can also be a vector of filenames, in which case set dir="" and filesuffix="", as in the example.
See also
Other Batch functions: batch_load
,
batch_tm
Examples
participants <- c(system.file("extdata", "AD06_BPnd_BPnd_Logan.voistat",
package="tacmagic"),
system.file("extdata", "AD07_BPnd_BPnd_Logan.voistat",
package="tacmagic"),
system.file("extdata", "AD08_BPnd_BPnd_Logan.voistat",
package="tacmagic"))
batchtest <- batch_voistat(participants=participants, ROI_def=roi_ham_pib(),
dir="", filesuffix="", varname="Logan")