View source: R/kinfitr_reflogan.R
refLogan_tstar | R Documentation |
Function to identify where t* is for the non-invasive Logan plot.
refLogan_tstar(
t_tac,
reftac,
lowroi,
medroi,
highroi,
k2prime,
filename = NULL,
frameStartEnd = NULL,
gridbreaks = 2
)
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. |
k2prime |
Value of k2prime to be used for the fitting, i.e. the average tissue-to-plasma clearance rate. This can be obtained from another model, or set at a specified value. If using SRTM to estimate this value, it is equal to k2 / R1. |
filename |
The name of the output image: filename_refLogan.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. |
Saves a jpeg of the plots as filename_refLogan.jpeg
Granville J Matheson, mathesong@gmail.com
## Not run:
refLogan_tstar(t_tac, reftac, taclow, tacmed, tachigh, k2prime, "demonstration")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.