plotSliceComp: Plot slice of 3D volume without thresholding and allowing for...

Description Usage Arguments Examples

View source: R/functions.R

Description

Plot slice of 3D volume without thresholding and allowing for negative expression values. Used for comparing spatial expression of upregulated vs. downregulated gene sets.

Usage

1
2
plotSliceComp(mat3D, slice, col = colorRampPalette(c("green", "blue", "black",
  "red", "yellow"), space = "Lab")(100), add = F)

Arguments

mat3D

3D volume

slice

Index of slice; limited to dimensions of mat3D

col

Color

add

Boolean whether to overlay onto existing plot

Examples

1
2

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