tac_roi {tacmagic} | R Documentation |
Calculate weighted time-activity curves for specified regions of interest
Description
Calculate weighted time-activity curves for specified regions of interest
Usage
tac_roi(tac, volumes, ROI_def, merge, PVC)
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) |
Value
Time-activity curves for the specified ROIs
See Also
Other tac functions:
plot.tac()
,
save_tac()
,
split_pvc()
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)
[Package tacmagic version 0.3.1 Index]