perfusionregression: Perfusion Regression

Description Usage Arguments Value Author(s) Examples

View source: R/perfusionregression.R

Description

Estimate CBF using standard regression and optionally robust regression.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
perfusionregression(
  mask_img,
  mat,
  xideal,
  nuis = NA,
  dorobust = 0,
  skip = 20,
  selectionValsForRegweights = NULL,
  useBayesian = 0
)

Arguments

mask_img

Mask image selects the voxels where CBF will be estimated. Voxels corresponding to logical FALSE are not computed.

mat

Matrix with a column for every time-series voxel. Number of rows equals the number of time units in the series.

xideal

1D time-series signal to be used a ideal or model for regression.

nuis

Nuisance parameters obtained from '.get_perfusion_predictors'.

dorobust

Real value in interval from 0 to 1. If greater than 0, then robust regression will be performed. A typical value would be 0.95 i.e. use voxels with 95 percent confidence.

skip

skip / stride over this number of voxels to increase speed

selectionValsForRegweights

scalar function to guide parameter est.

useBayesian

if greater than zero, use a bayesian prior w/this weight

Value

Success – An object of type 'antsImage' containing the CBF estimate for voxels corresponding to the mask input

Author(s)

Shrinidhi KL Avants BB

Examples

1
2
3
4
5
## Not run: 
#
# cbf <- perfusionregression( mask_img, mat, xideal , nuis )

## End(Not run)

neuroconductor-devel/ANTsR documentation built on April 1, 2021, 1:02 p.m.