mrtm1_tstar: Tstar Finder: MRTM1

View source: R/kinfitr_mrtm1.R

mrtm1_tstarR Documentation

Tstar Finder: MRTM1

Description

Function to identify where t* is for MRTM1. Remember that this is unnecessary if the kinetics in the target tissue can be described by a one tissue compartment model (like SRTM).

Usage

mrtm1_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_mrtm1.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_mrtm1.jpeg

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

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

## End(Not run)


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