plot_input: Plot input

View source: R/kinfitr_bloodfuncs.R

plot_inputR Documentation

Plot input

Description

Provides a plot of the input data to get an idea of how it looks. Blood, plasma and AIF data are scaled to a common value.

Usage

plot_input(input)

Arguments

input

Data frame containing the blood, plasma, and parent fraction concentrations over time. This can be generated using the blood_interp function.

Value

A ggplot2 object

Author(s)

Granville J Matheson, mathesong@gmail.com

Examples


data(pbr28)

input <- blood_interp(
  pbr28$procblood[[2]]$Time / 60, pbr28$procblood[[2]]$Cbl_dispcorr,
  pbr28$procblood[[2]]$Time / 60, pbr28$procblood[[2]]$Cpl_metabcorr,
  t_parentfrac = 1, parentfrac = 1
)

plot_input(input)

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