Description Usage Arguments Value Examples
Adds an indicator of the slices used in the slice series, displayed on top of an anatomy slice.
1 2 3 | anatomySliceIndicator(ssm, volume, low, high, dimension = NULL,
slice = NULL, col = gray.colors(255, start = 0),
lineColour = "green")
|
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 background slice. |
low |
Low end of colour for background slice. |
high |
High end of colour for background slice. |
dimension |
Dimension to use for background slice. Will pick sensible default if NULL. |
slice |
Slice number to use for background slice. Will pick sensible default if NULL. |
col |
Colour of the background slice. Defaults to gray. |
lineColour |
The colour of the slice indicator lines. Defaults to green. |
The ssm object augmented with a sliceIndicator
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") %>%
anatomySliceIndicator(anatVol, 700, 1400) %>%
draw()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.