Package: tacmagic 0.3.0

Eric Brown

tacmagic: Positron Emission Tomography Time-Activity Curve Analysis

To facilitate the analysis of positron emission tomography (PET) time activity curve (TAC) data, and to encourage open science and replicability, this package supports data loading and analysis of multiple TAC file formats. Functions are available to analyze loaded TAC data for individual participants or in batches. Major functionality includes weighted TAC merging by region of interest (ROI), calculating models including standardized uptake value ratio (SUVR) and distribution volume ratio (DVR, Logan et al. 1996 <doi:10.1097/00004647-199609000-00008>), basic plotting functions and calculation of cut-off values (Aizenstein et al. 2008 <doi:10.1001/archneur.65.11.1509>). Please see the walkthrough vignette for a detailed overview of 'tacmagic' functions.

Authors:Eric Brown [aut, cre], Ariel Graff-Guerrero [dgs], Jon Clayden [rev], Brandon Hurr [rev]

tacmagic.pdf |tacmagic.html
tacmagic/json (API)

# Install tacmagic in R:
install.packages('tacmagic', repos = c('', ''))

Peer review:

Bug tracker:

  • fake_DVR - Fake DVR data for vignette and package testing



23 exports 5 stars 1.18 score 5 dependencies 147 downloads

Last updated 4 years agofrom:d6bfeb4a3b0cdc186799e737b984adb149e15ab2 (via master)



Analysis with tacmagic

Rendered fromwalkthrough.Rmdusingknitr::rmarkdownon Jun 12 2024.

Last update: 2019-06-06
Started: 2019-01-25

Readme and manuals

Help Manual

Help pageTopics
Creates a tac object from a data.frameas.tac
Load (+/- merge) ROIs for batch of participantsbatch_load
Calculate one or more models for a batch of participantsbatch_tm
Obtain values from voistat files (using load_voistat() for a batch.batch_voistat
Convert radioactivity unitschange_units
Cutoff value calculation using method described in Aizenstein et al. 2008cutoff_aiz
Distribution volume ratio (DVR) for one or more ROIsdvr
Non-invasive reference Logan method for all ROIs in tac dataDVR_all_ref_Logan
Non-invasive reference Logan methodDVR_ref_Logan
Fake DVR data for vignette and package testingfake_DVR
Loads TAC from file for use by other functions (default is PMOD .tac format)load_tac
Reads PMOD .voistat files and optionally merges volume-weighted ROIsload_voistat
Loads ROI volumes from file for use by other functionsload_vol
Non-invasive reference Logan plotplot.ref_Logan
Plots time activity curves from 1 or 2 participants or groups.plot.tac
Dichotomize participants based on ROI cutoff valuespos_anyroi
Return a list of larger ROIs made up of the ROIs in the Hammer's atlas.roi_ham_full
Return a list of merged ROIs made up of atomic ROIs in the Hammer's atlas.roi_ham_pib
Return a list of merged ROIs made up of the atomic ROIs in the Hammer's atlas.roi_ham_stand
Save a tac object as a .tac filesave_tac
Subset PMOD tacs with or without PVCsplit_pvc
Calculate average SUV over time window, or maximum SUVsuv
Calculate weighted SUVRs for specified regions of interestsuvr
Calculate SUVRs for regions of interest with AUC from mid-frame timessuvr_auc
Calculate weighted time-activity curves for specified regions of interesttac_roi
Calculate SUV from TACtac_suv
tacmagic: PET Analysis in Rtacmagic-package tacmagic