as.list,FileBackedNeuroVec-method | R Documentation |
Converts a FileBackedNeuroVec object to a list of DenseNeuroVol objects.
convert SparseNeuroVec to list of DenseNeuroVol
## S4 method for signature 'FileBackedNeuroVec'
as.list(x)
## S4 method for signature 'NeuroVec'
as.list(x)
## S4 method for signature 'SparseNeuroVec'
as.list(x)
x |
the object |
This method creates a deferred list, where each element is a DenseNeuroVol object representing a single volume from the FileBackedNeuroVec.
A deferred list of DenseNeuroVol objects.
## Not run:
fbvec <- FileBackedNeuroVec("fmri_data.nii")
# Convert to list of volumes
vol_list <- as.list(fbvec)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.