plot_refmlLoganfit: Plot: Non-Invasive Multilinear Logan Plot

View source: R/kinfitr_refmllogan.R

plot_refmlLoganfitR Documentation

Plot: Non-Invasive Multilinear Logan Plot

Description

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

Usage

plot_refmlLoganfit(refmlloganout, roiname = NULL)

Arguments

refmlloganout

The output object of the refmlLogan 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 <- refmlLogan(t_tac, reftac, roitac, k2prime = 0.1, tstarIncludedFrames = 10, weights = weights)

plot_refmlLoganfit(fit)

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