plot_mrtm1fit: Plot: MRTM1

View source: R/kinfitr_mrtm1.R

plot_mrtm1fitR Documentation

Plot: MRTM1

Description

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

Usage

plot_mrtm1fit(mrtm1out, roiname = NULL, refname = NULL)

Arguments

mrtm1out

The output object of the mrtm1 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 <- mrtm1(t_tac, reftac, roitac, weights = weights)

plot_mrtm1fit(fit)

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