plot_srtm2fit: Plot: Simplified Reference Tissue Model 2

View source: R/kinfitr_srtm2.R

plot_srtm2fitR Documentation

Plot: Simplified Reference Tissue Model 2

Description

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

Usage

plot_srtm2fit(srtm2out, roiname = NULL, refname = NULL)

Arguments

srtm2out

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

plot_srtm2fit(fit)

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