slice_overlay-methods: Methods for Function slice_overlay

Description Usage Arguments Details Methods Author(s) See Also

Description

Methods for function slice_overlay

Usage

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
slice_overlay.nifti(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

slice_overlay(x, y, ...)

## S4 method for signature 'nifti,missing'
slice_overlay(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

## S4 method for signature 'nifti,nifti'
slice_overlay(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

## S4 method for signature 'anlz,anlz'
slice_overlay(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

## S4 method for signature 'anlz,nifti'
slice_overlay(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

## S4 method for signature 'nifti,anlz'
slice_overlay(
  x,
  y,
  z = 1,
  w = 1,
  col.x = gray(0:64/64),
  col.y = hotmetal(),
  zlim.x = NULL,
  zlim.y = NULL,
  plane = c("axial", "coronal", "sagittal"),
  xlab = "",
  ylab = "",
  axes = FALSE,
  oma = rep(0, 4),
  mar = rep(0, 4),
  bg = "black",
  NA.x = FALSE,
  NA.y = TRUE,
  useRaster = TRUE,
  ...
)

## S4 method for signature 'array,array'
slice_overlay(x, y, ...)

## S4 method for signature 'array,nifti'
slice_overlay(x, y, ...)

## S4 method for signature 'nifti,array'
slice_overlay(x, y, ...)

## S4 method for signature 'array,anlz'
slice_overlay(x, y, ...)

## S4 method for signature 'anlz,array'
slice_overlay(x, y, ...)

## S4 method for signature 'afni,afni'
slice_overlay(x, y, ...)

## S4 method for signature 'afni,array'
slice_overlay(x, y, ...)

Arguments

x, y

is an object of class nifti or similar.

z

is the slice to be displayed (ignored when plot.type = "multiple").

w

is the time point to be displayed (4D arrays only).

col.x

is grayscale (by default).

col.y

is hotmetal (by default).

zlim.x, zlim.y

are set to NULL (by default) and taken from the header information.

plane

is the plane of acquisition to be displayed (choices are ‘axial’, ‘coronal’, ‘sagittal’).

xlab

is set to “” since all margins are set to zero.

ylab

is set to “” since all margins are set to zero.

axes

is set to FALSE since all margins are set to zero.

oma

is the size of the outer margins in the par function.

mar

is the number of lines of margin in the par function.

bg

is the background color in the par function.

NA.x

Set any values of 0 in x to NA

NA.y

Set any values of 0 in y to NA

useRaster

if TRUE, a bitmap raster is used to plot the image instead of polygons. Passed to image

...

other arguments to the image function may be provided here.

Details

The image command is used multiple times to simultaneously visualize one of the three orthogonal planes in two multidimensional arrays, one on top of the other, for medical imaging data.

Methods

x = "nifti", y = "nifti"

Produce slice_overlay of y on x.

x = "anlz", y = "anlz"

Produce slice_overlay of y on x.

x = "afni", y = "afni"

Produce slice_overlay of y on x.

Author(s)

Brandon Whitcher bwhitcher@gmail.com

See Also

image-methods, slice_overlay-methods


neuroconductor/oro.nifti documentation built on May 19, 2021, 5:25 a.m.