read_annotation: Read Freesurfer annotation file

Description Usage Arguments Details Value

View source: R/read_annotation.R

Description

Reads Freesurfer binary annotation files that contain information on vertex labels and colours for use in analyses and brain area lookups.

Usage

1
read_annotation(path, verbose = TRUE)

Arguments

path

path to annotation file

verbose

logical.

Details

This function is heavily based on Freesurfer's read_annotation.m Original Author: Bruce Fischl CVS Revision Info: $Author: greve $ $Date: 2014/02/25 19:54:10 $ $Revision: 1.10 $

Copyright © 2011 The General Hospital Corporation (Boston, MA) "MGH" Terms and conditions for use, reproduction, distribution and contribution are found in the 'FreeSurfer Software License Agreement' contained in the file 'LICENSE' found in the FreeSurfer distribution, and here: https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense Reporting: freesurfer@nmr.mgh.harvard.edu

# TODO: replace with freesurfer::read_annotation when its incorporated on CRAN

Value

dataframe with 6 variables


neuroconductor/ggsegExtra documentation built on Aug. 18, 2020, 4:45 p.m.