threeBrain: Create a brain object

View source: R/threeBrain.R

threeBrainR Documentation

Create a brain object

Description

Create a brain object

Usage

threeBrain(
  path,
  subject_code,
  surface_types = "pial",
  atlas_types = "aparc+aseg",
  ...,
  template_subject = unname(getOption("threeBrain.template_subject", "N27"))
)

Arguments

path

path to 'FreeSurfer' directory, or 'RAVE' subject directory containing 'FreeSurfer' files, or simply a 'RAVE' subject

subject_code

subject code, characters

surface_types

surface types to load; default is 'pial', other common types are 'white', 'smoothwm'

atlas_types

brain atlas to load; default is 'aparc+aseg', other choices are 'aparc.a2009s+aseg', 'aparc.DKTatlas+aseg', depending on the atlas files in 'fs/mri' folder

...

reserved for future use

template_subject

template subject to refer to; used for group template mapping


threeBrain documentation built on July 9, 2023, 6:32 p.m.