slicetiming: slicetiming for fmridata-objects

Description Usage Arguments Value Author(s) See Also Examples

View source: R/lmslicetime.R

Description

Perform slicetiming for fMRI data, idealy before preprocessing (registration). Recording times for slices are assumed to be equispaced between scans with argument sliceorder providing the order of slice acquisitions. Interpolation between slices is performed uing a sinc filter.

Usage

1
slicetiming(fmridataobj, sliceorder = NULL)

Arguments

fmridataobj

object of class fmridata

sliceorder

order of lice acqisions

Value

an object of class fmridata

Author(s)

Joerg Polzehl polzehl@wias-berlin.de

See Also

fmri.stimulus, fmri.design,fmri.lm,~~~

Examples

1
2
3
4
5
6
7
8
9
  ## Not run: 
# Example 1
  data <- list(ttt=writeBin(rnorm(32*32*32*107), raw(), 4),
               mask=array(TRUE, c(32, 32, 32)), dim=c(32, 32, 32, 107))
  class(data) <- "fmridata"
  data <- slicetiming(data,sliceorder=1:32)
  ## provides data corrected for sequential slice acquisition in linear order

## End(Not run)

neuroconductor/fmri documentation built on May 20, 2021, 4:28 p.m.