brainmorph: Generate a brain morph plot *(W)*

Description Usage Arguments

View source: R/brainmorph.R

Description

Generate a brain morph plot (normalized to 1). For use with mapping whole brain only. Creates a plot that can be easily modified using 'par()' to query or set graphical parameters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
brainmorph(
  setup,
  saveplot = TRUE,
  filetype = c("tif", "tiff", "wmf", "emf", "png", "jpg", "jpeg", "bmp", "ps", "eps",
    "pdf"),
  aspect.ratio = 0.9,
  title_size = 25,
  x_title_size = 20,
  y_title_size = 20,
  pointsize = 4,
  linesize = 1.5,
  y_lim = c(0, 1.6),
  y_by = 0.2
)

Arguments

setup

(required) Setup list from setup_pl().

saveplot

(optional, default=TRUE) Save the plot. Note: saveplot will automatically save the device without leaving the device open

filetype

(optional, default = "tif") Image type to save as. See the type argument in the function saveplot. Options: "tif", "tiff", "wmf", "emf", "png", "jpg", "jpeg", "bmp","ps", "eps", "pdf"

aspect.ratio

(optional, default = 0.9) Aspect ratio of the graph.

title_size

(optional, default = 25)

x_title_size

(optional, default = 20)

y_title_size

(optional, default = 20)

pointsize

(optional, default = 4)

linesize

(optional, default = 1.5)

y_lim

(optional, default = c(0, 1.6)) Lower and upper limits of y-axis.

y_by

(optional, default = 0.2) Tick mark interval of y-axis.


mjin1812/SMART documentation built on Oct. 30, 2021, 7:25 p.m.