read_cifti: Read CIFTI File

Description Usage Arguments Value Examples

View source: R/read_cifti.R

Description

Reads CIFTI Files

Usage

1
2
3
4
5
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)

Arguments

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

Value

List of information from the CIFTI file

Examples

1
2
3
4
5
6
7
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)
}

neuroconductor/cifti documentation built on May 19, 2021, 5:18 a.m.