read_cifti {cifti}R Documentation

Read CIFTI File

Description

Reads CIFTI Files

Usage

read_cifti(fname, drop_data = TRUE, trans_data = TRUE)

readCIFTI(fname, drop_data = TRUE, trans_data = TRUE)

readcii(fname, drop_data = TRUE, trans_data = TRUE)

Arguments

fname

file name of CIFTI file

drop_data

Should the empty data dimensions be dropped?

trans_data

Should the data be transposed

Value

List of information from the CIFTI file

Examples

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)
}

[Package cifti version 0.4.5 Index]