Usage
rlrtpanel(rlrtobj, array4d, predictor, disp = c("stat", "p", "fdr"), titl = "", xlab = "Age", ylab = "", slice = (dim(array4d)[3]%/%2), ylim.scatter = NULL, col.image = shape::femmecol(100), neglog10 = FALSE, threshold = NULL)
Arguments
rlrtobj
an RLRT object as produced by rlrt4d. array4d
a 4-dimensional array containing the raw data that were
smoothed at each point. The first 3 dimensions refer to x, y, and z
coordinates and the last dimension corresponds to different images.
predictor
a vector or matrix of covariates.
disp
values from the RLRT object to be displayed: either RLRT
statistics, p-values, or FDR values.
xlab,ylab
x- and y-axis labels.
slice
index of the default slice to be shown in the panel.
ylim.scatter
the y limits of the scatterplots.
col.image
a list of colors such as that generated by rainbow,
heat.colors, topo.colors, terrain.colors or similar functions.
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.