plot_frtmfit: Plot: Full Reference Tissue Model

View source: R/kinfitr_frtm.R

plot_frtmfitR Documentation

Plot: Full Reference Tissue Model

Description

Function to visualise the fit of the FRTM model to data.

Usage

plot_frtmfit(frtmout, roiname = NULL, refname = NULL)

Arguments

frtmout

The output object of the FRTM fitting procedure.

roiname

Optional. The name of the Target Region to see it on the plot.

refname

Optional. The name of the Reference Region to see it on the plot.

Value

A ggplot2 object of the plot.

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples

data(simref)

t_tac <- simref$tacs[[2]]$Times
reftac <- simref$tacs[[2]]$Reference
roitac <- simref$tacs[[2]]$ROI1
weights <- simref$tacs[[2]]$Weights

fit <- frtm(t_tac, reftac, roitac, weights, frameStartEnd = c(1, 33))

plot_frtmfit(fit)

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