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 Oct. 5, 2021, 5:06 p.m.