Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/read.fmrislice.R
read.fmrislice
reads pre-filtered fMRI data, mask data, and the design matrix to be used
in fMRI data processing.
1 | read.fmrislice(fbase=NULL, slice=NULL, swap=FALSE)
|
fbase |
If |
slice |
the number of the slice to use. If a slice number is not specified
a central slice from the provided dataset (mid-brain, in general) is assumed
(default |
swap |
logical variable (default = |
The FSL/FEAT Analysis tool may be used to generate the prefiltered fMRI data (niislicets), the mask (mask), and the design matrix (dsgn) required as data input. The FSL-design file design.mat is simply a ASCII textfile with the fields /NumWaves, /NumPoints, /PPheights, and /Matrix. Therefore, it may easily edited, if required, to prepare user specific design matrices without the FSL/FEAT tool. The package oro.nifti is required for reading gzipped NIFTI files.
a list containing
fbase |
dataset prefix of the dataset used in the analysis |
slice |
slice number |
niislicets |
slice data at all timepoints |
mask |
slice mask |
X |
full design matrix |
nvar |
number of regression variables |
nobs |
number of observations |
swap |
relative orientation used in the data setup |
A. Ferreira da Silva, Universidade Nova de Lisboa,
Faculdade de Ciencias e Tecnologia,
afs@fct.unl.pt.
Adelino Ferreira da Silva (2011). cudaBayesregData: Data sets for the examples used in the package cudaBayesreg, R package version 0.3-10. URL http://CRAN.R-project.org/package=cudaBayesregData.
FSL/FEAT Analysis tool, FMRIB Software Library (FSL). URL www.fmrib.ox.ac.uk/fsl.
Brandon Whitcher, Volker Schmid and Andrew Thornton (2011). oro.nifti: Rigorous - NIfTI Input / Output, R package version 0.2.5. URL http://CRAN.R-project.org/package=oro.nifti.
cudaMultireg.slice
read.Zsegslice
premask
1 2 3 4 5 | ## Not run:
slicedata <- read.fmrislice(fbase="fmri", slice=3)
print(str(slicedata))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.