glassbrain2: Modified glassbrain function

Description Usage Arguments See Also

View source: R/glassbrain2.R

Description

A modified version of wholebrain::glassbrain() that

  1. Gives the user an option to plot the "jitter" in cell placement in original glassbrain function (the jitter gives a more space filled look) .

  2. Does not show the glass brain display when high.res is set to "OFF" (otherwise set to TRUE or FALSE).

Usage

1
2
3
4
glassbrain2(dataset, high.res = "OFF", dim = c(720, 1080),
  device = TRUE, col = "region", cex = 0.5, hemisphere = "right",
  spheres = FALSE, alpha = 1, laterality = TRUE, plane = "coronal",
  jitter = FALSE)

Arguments

dataset

(required) Cell count dataset

high.res

(default = "OFF") TRUE or FALSE sets high or low resolution glassbrain. "OFF" doesn't plot plot the glassbrain. Options: "OFF", TRUE, FALSE

dim

(default = c(720, 1080)) Original argument from wholebrain::glassbrain().

device

(default = TRUE) Original argument from wholebrain::glassbrain().

col

(default = "region") Original argument from wholebrain::glassbrain().

cex

(default = 0.5) Graphical parameter for text size.

hemisphere

(default = "right") Original argument from wholebrain::glassbrain().

spheres

(default = FALSE) Original argument from wholebrain::glassbrain().

alpha

(default = 1) Original argument from wholebrain::glassbrain().

laterality

(default = TRUE) Original argument from wholebrain::glassbrain().

plane

(default = "coronal") Original argument from wholebrain::glassbrain().

jitter

(default = FALSE) If TRUE, add jitter in z-axis to fill space between z-planes.

See Also

See also the function wholebrain::glassbrain() from the wholebrain package.


mjin1812/SMART documentation built on Aug. 8, 2019, 12:31 p.m.