View source: R/kinfitr_blooddata.R
bd_getdata | R Documentation |
DEPRECATION WARNING: this function will be slowly phased out of future releases as it is based on the old PET BIDS standard. in favour of bd_extract() and bd_create_input(). blooddata objects can be updated to the new format using update_blooddata(), or (better) by creating it afresh from the source.
bd_getdata(
blooddata,
startTime = 0,
stopTime = NULL,
interpPoints = 6000,
output = c("input", "Blood", "BPR", "parentFraction", "AIF")
)
blooddata |
A blooddata object, to which all the desired fits have been applied and added. |
startTime |
The starting time for the interpolation. Defaults to zero. If, after application of the TimeShift value in the blooddata object, the startTime is still after zero, it will be set to zero. |
stopTime |
The end time for the interpolation. Defaults to the maximum measured time. |
interpPoints |
The number of points to interpolate over between the start and stop times. |
output |
The output. This defaults to an "input" object, which can be used in a kinetic model fit. But if set to "Blood", "BPR", "parentFraction" or "AIF", it yields the appropriate input for the function which will be used to model these. |
This function extracts data from blooddata objects to create either an input object for kinetic modelling, or sets of values for modelling of blood-related curves.
A tibble containing the output specified.
Granville J Matheson, mathesong@gmail.com
## Not run:
bd_getdata(blooddata)
bd_getdata(blooddata, output = "parentFraction")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.