sliceSeries: Initialize a slice series

Description Usage Arguments Value Examples

View source: R/pipeFuncs.R

Description

Starts a new slices series, sets dimensions, slices to use, and rows and columns.

Usage

1
2
sliceSeries(ssm = NULL, slices = NULL, nrow = NULL, ncol = NULL,
  dimension = NULL, begin = NULL, end = NULL)

Arguments

ssm

Provided as part of an ongoing pipe, not usually specified by user

slices

A vector of integers representing which slices to use. Can be NULL, in which case nrow and ncol together with begin and end are used.

nrow

Rows in the slice series. Set to 1 if NULL and ncol specified.

ncol

Columns in the slice series. Set to 1 if NULL and nrow specified.

dimension

Dimension as integer (1, 2, or 3) for slice series.

begin

First slice. Can be NULL if slices explicitly specified.

end

Last slice. Can be NULL if slices explicitly specified.

Value

Returns the slices series info for passing along the pipe.

Examples

1
2
3
4
5
6
7
8
## Not run: 
sliceSeries(nrow = 1, begin=200, end=300) %>%
  anatomy(anatVol, low=700, high=1400) %>%
  overlay(stats, low=2, high=6, symmetric = T) %>%
  legend("t-statistics") %>%
  draw()

## End(Not run)

Mouse-Imaging-Centre/MRIcrotome documentation built on Feb. 27, 2020, 1:31 p.m.