View source: R/kinfitr_mrtm2.R
plot_mrtm2fit | R Documentation |
Function to visualise the fit of the MRTM2 model to data.
plot_mrtm2fit(mrtm2out, roiname = NULL, refname = NULL)
mrtm2out |
The output object of the mrtm2 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. |
A ggplot2 object of the plot.
Granville J Matheson, mathesong@gmail.com
data(simref)
t_tac <- simref$tacs[[2]]$Times
reftac <- simref$tacs[[2]]$Reference
roitac <- simref$tacs[[2]]$ROI1
weights <- simref$tacs[[2]]$Weights
fit <- mrtm2(t_tac, reftac, roitac, 0.01, weights = weights)
plot_mrtm2fit(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.