plot.rlrt4d: Display cross-sections of voxelwise RLRT results

Description Usage Arguments Author(s) See Also Examples

Description

Plots slices of the 3D array representing a set of voxelwise RLRT results.

Usage

1
2
3
4
5
## S3 method for class 'rlrt4d'
plot(x, array4d, disp = c("stat", "p", "fdr", "pwdf"),
  titl = NULL, slices = NULL, colbar = TRUE,
  col.image = shape::femmecol(100)[100:1], neglog10 = FALSE,
  threshold = NULL, mar = c(2, 2, 2, 2), digit = 2, nrow = NULL, ...)

Arguments

x

a voxelwise RLRT object as produced by rlrt4d.

array4d

the 4D array on which the voxelwise RLRT was performed.

disp

values from the RLRT object to be displayed: either RLRT statistics, p-values, or FDR values.

titl

title of the panel.

slices

indices of the slice(s) to be displayed.

colbar

logical: Should a color bar be included?

col.image

color scheme for the color bar, as generated by rainbow, heat.colors, etc.

neglog10

logical; if TRUE, negative base 10 logarithm (of the quantity specified by disp) is displayed.

threshold

the upper limit of the values to be plotted. All larger values will be replaced by the threshold value.

mar

A numerical vector of the form c(bottom, left, top, right) specifying the number of lines of margin on the four sides of the plot.

digit

number of significant digits in labels.

nrow

number of rows on the plot.

...

arguments passed to plot.

Author(s)

Lei Huang huangracer@gmail.com, Philip Reiss phil.reiss@nyumc.org and Lan Huo

See Also

rlrt4d

Examples

1
# Please see the example for rlrt4d

vows documentation built on May 2, 2019, 9:26 a.m.