Learn R Programming

brainGraph (version 1.0.0)

plot_brainGraph_mni: Draw an axial or sagittal slice of the MNI152 T1 image

Description

This function draws an axial or sagittal slice from the MNI152 T1 image, to plot the vertices of a graph over it. It will optionally write to a filename for output.

Usage

plot_brainGraph_mni(plane = c("axial", "sagittal"), slice, hemi = c("L",
  "R"), save.graph = FALSE, fname = NULL)

Arguments

plane
Character string, either 'axial' or 'sagittal'
slice
The x or z-coordinate of the slice to use
hemi
Character string, either 'L' or 'R'
save.graph
Logical indicating whether or not a png file should be saved (default: FALSE)
fname
The name of the file to be saved

See Also

image.nifti