Learn R Programming

fsbrain (version 0.0.3)

arrange.brainview.images: Combine several brainview images into a new figure.

Description

Combine several brainview images into a new figure.

Usage

arrange.brainview.images(brainview_images, output_img,
  colorbar_img = NULL, silent = FALSE, grid_like = TRUE,
  border_geometry = "5x5", background_color = "white")

Arguments

brainview_images

vector of character strings, paths to the brainview images, usually in PNG format

output_img

path to output image that including the file extension

colorbar_img

path to the main image containing the separate colorbar, usually an image in PNG format

silent

logical, whether to suppress messages

grid_like

logical, whether to arrange the images in a grid-like fashion. If FALSE, they will all be merged horizontally.

border_geometry

string, a geometry string passed to image_border to define the borders to add to each image tile. The default value adds 5 pixels, both horizontally and vertically.

background_color

string, a valid ImageMagick color string such as "white" or "#000080". The color to use when extending images (e.g., when creating the border)