Description Usage Arguments Value Examples
Adds an indicator of the slices used in the slice series, displayed on top of one or more contours.
1 2 3 |
ssm |
The slice series info, usually passed along the pipe and specified by the user |
volume |
3D matrix representing the volume from which to draw the contours. |
levels |
Levels at which to draw contours - a single number or a vector. |
dimension |
Dimension to use for contours. Will pick sensible default if NULL. |
slice |
Slice number to use for contours. Will pick sensible default if NULL. |
col |
The colour(s) for the contour(s). Defaults to red. |
lty |
The line type(s) for the contour(s). Defaults to 1. |
lwd |
The line width(s) for the contour(s). Defaults to 1. |
lineColour |
The colour for the slice indicator lines. Defaults to black. |
The ssm augmented with a contour slice indication
1 2 3 4 5 6 7 8 9 | ## Not run:
sliceSeries(nrow=5, begin=150, end=250) %>%
anatomy(anatVol, low=700, high=1400) %>%
overlay(stats, 2, 6, symmetric = T, alpha=0.1) %>%
legend("t-statistics") %>%
contourSliceIndicator(anatVol, c(700, 1400)) %>%
draw()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.