The neuroim package is a library of S4 classes and functions supporting neuroimaigng analysis in R. It contains data structures for 3D and 4D images and rotines for reading and writing NIFTI formatted images. It currently has experimental/limited support for reading AFNI formatted images.
A brief summary of most important functions is below. More extended documentation can be found in the associated vignettes.
loadVolume
example:
loadVolume("example.nii")
writeVolume
example:
writeVolume(vol, "example.nii")
loadVector
example:
loadVector("example_4d.nii")
writeVector
example:
writeVector(bvec, "example_4d.nii")
series
example: series(bvec, 12,12,12) ## voxel coordinates are [12,12,12] in grid units starting at [1,1,1]
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.