plot_refLoganfit: Plot: Non-Invasive Logan Plot

View source: R/kinfitr_reflogan.R

plot_refLoganfitR Documentation

Plot: Non-Invasive Logan Plot

Description

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

Usage

plot_refLoganfit(refloganout, roiname = NULL)

Arguments

refloganout

The output object of the refLogan fitting procedure.

roiname

Optional. The name of the Target 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 <- refLogan(t_tac, reftac, roitac, k2prime = 0.1, tstarIncludedFrames = 10, weights = weights)

plot_refLoganfit(fit)

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