as_yael_process: Create a 'YAEL' imaging processing instance

View source: R/class-YAEL.R

as_yael_processR Documentation

Create a 'YAEL' imaging processing instance

Description

Image registration across different modals. Normalize brain 'T1'-weighted 'MRI' to template brain and generate subject-level atlas files.

Usage

as_yael_process(subject)

Arguments

subject

character (subject code, or project name with subject code), or RAVESubject instance.

Value

A processing instance, see YAELProcess

Examples


library(raveio)
process <- as_yael_process("testtest2")

# This example requires extra demo data & settings.
## Not run: 

# Import and set original T1w MRI and CT
process$set_input_image("/path/to/T1w_MRI.nii", type = "T1w")
process$set_input_image("/path/to/CT.nii.gz", type = "CT")

# Co-register CT to MRI
process$register_to_T1w(image_type = "CT")

# Morph T1w MRI to 0.5 mm^3 MNI152 template
process$map_to_template(
  template_name = "mni_icbm152_nlin_asym_09b",
  native_type = "T1w"
)


## End(Not run)



beauchamplab/raveio documentation built on April 24, 2024, 11:20 p.m.