refPatlak_tstar: Tstar Finder: Patlak Reference Tissue Model

View source: R/kinfitr_refPatlak.R

refPatlak_tstarR Documentation

Tstar Finder: Patlak Reference Tissue Model

Description

Function to identify where t* is for the Patlak Reference Tissue Model.

Usage

refPatlak_tstar(
  t_tac,
  reftac,
  lowroi,
  medroi,
  highroi,
  filename = NULL,
  frameStartEnd = NULL,
  gridbreaks = 2
)

Arguments

t_tac

Numeric vector of times for each frame in minutes. We use the time halfway through the frame as well as a zero. If a time zero frame is not included, it will be added.

reftac

Numeric vector of radioactivity concentrations in the reference tissue for each frame.

lowroi

Numeric vector of radioactivity concentrations in a target tissue for each frame. This should be from a ROI with low binding.

medroi

Numeric vector of radioactivity concentrations in a target tissue for each frame. This should be from a ROI with medium binding.

highroi

Numeric vector of radioactivity concentrations in a target tissue for each frame. This should be from a ROI with high binding.

filename

The name of the output image: filename_refPatlak.jpeg

frameStartEnd

Optional: This allows one to specify the beginning and final frame to use for modelling, e.g. c(1,20). This is to assess time stability.

gridbreaks

Optional. The size of the grid in the plots. Default: 2.

Value

Saves a jpeg of the plots as filename_refPatlak.jpeg

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

## Not run: 
refPatlak_tstar(t_tac, reftac, taclow, tacmed, tachigh, "demonstration")

## End(Not run)


mathesong/kinfitr documentation built on Jan. 15, 2024, 11:07 p.m.