Calculate weighted time-activity curves for specified regions of interest
Source:R/tac.R
tac_roi.Rd
Calculate weighted time-activity curves for specified regions of interest
Arguments
- tac
The time-activity curve data from loading function
- volumes
The ROI volume data from loading function
- ROI_def
The definition of ROIs by combining smaller ROIs from TAC file
- merge
If TRUE, includes the original ROIs in the output data
- PVC
If TRUE, appends "_C" to ROI name header (as in PMOD TAC files)
Examples
# f_raw_tac and f_raw_vol are the filenames of PMOD-generated files
f_raw_tac <- system.file("extdata", "AD06.tac", package="tacmagic")
f_raw_vol <- system.file("extdata", "AD06_TAC.voistat", package="tacmagic")
tac <- load_tac(f_raw_tac)
vol <- load_vol(f_raw_vol)
AD06_tac_nc <- tac_roi(tac, vol, roi_ham_full(), merge=FALSE, PVC=FALSE)