Learn R Programming

vows (version 0.5)

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

Description

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

Usage

"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.

See Also

rlrt4d

Examples

Run this code

# Please see the example for rlrt4d

Run the code above in your browser using DataLab