cmr: Bayesian analysis of cardiovascular magnetic resonance...

View source: R/cmr.R

cmrR Documentation

Bayesian analysis of cardiovascular magnetic resonance imaging

Description

Bayesian analysis of cardiovascular magnetic resonance imaging

Usage

cmr(
  data,
  input,
  mask = NULL,
  method = "spatial",
  quantiles = c(0.25, 0.75),
  cores = parallel::detectCores()
)

Arguments

data

3D or 4D array of CMR signal

input

input function

mask

2d array of mask. Voxel with 0 or FALSE will be omitted from analysis. Default NULL: use NA values in data as mask

method

"spatial" or "local"

quantiles

quantiles used for credible interval, default: c(0.25, 0.75)

cores

number of cores for parallel computation. Spatial model only computes slices parallel, local can be parallelized on voxel level

Value

list of mbf (point estimation) and ci (credible interval)


bioimaginggroup/cmr documentation built on July 27, 2023, 8:23 a.m.