f.read.nifti.slice.at.all.timepoints: reads a slice at all time points from a NIFTI .img or .nii...

Description Usage Arguments Value See Also Examples

View source: R/niftiFMRI.R

Description

Reads in a slice of a .img or .nii file at all time points into an array

Usage

1

Arguments

file

file The location of the .img file

slice

slice The number of the slice to be read in

Value

An array containing the slice at all time points

See Also

f.read.nifti.slice, f.read.nifti.ts, f.read.nifti.volume

Examples

1
2
a<-f.read.nifti.slice.at.all.timepoints(system.file("example-nifti.img", package="AnalyzeFMRI"),10)
dim(a)

AnalyzeFMRI documentation built on May 19, 2017, 6:14 p.m.

Search within the AnalyzeFMRI package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.