plotSlice: Plot slice of 3D volume

Description Usage Arguments Examples

View source: R/functions.R

Description

Plot slice of 3D volume

Usage

1
2
plotSlice(mat3D, slice, col = colorRampPalette(c("white", "black", "red",
  "yellow"), space = "Lab")(100), t = 0, add = F)

Arguments

mat3D

3D volume

slice

Index of slice; limited to dimensions of mat3D

col

Color

t

Threshold used to remove noise

add

Boolean whether to overlay onto existing plot

Examples

1
2

hms-dbmi/brainmapr documentation built on May 17, 2019, 4:35 p.m.