read_cifti.Rd
Reads CIFTI Files
read_cifti(fname, drop_data = TRUE, trans_data = TRUE, verbose = TRUE)
readCIFTI(fname, drop_data = TRUE, trans_data = TRUE)
readcii(fname, drop_data = TRUE, trans_data = TRUE)
fname | file name of CIFTI file |
---|---|
drop_data | Should the empty data dimensions be dropped? |
trans_data | Should the data be transposed |
verbose | print diagnostic messages |
List of information from the CIFTI file
outdir = tempdir()
if (have_cifti_test_data(outdir = outdir)) {
files = download_cifti_data(outdir = outdir)
fname = grep("MyelinAndCorrThickness.32k_fs_LR.dscalar",
files, value = TRUE)
res = read_cifti(fname)
}