ggplot2
ggortho.Rd
Plotting function for an orthographic view of a 3-dimensional image
construct_ggortho(img, overlay = NULL, xyz = NULL, crosshairs = TRUE,
col = gray(0:64/64), col.overlay = oro.nifti::hotmetal(), ...)
ggortho(img, overlay = NULL, xyz = NULL, crosshairs = TRUE, ...)
ggortho2(...)
ggortho_img_df(img_df, overlay_df = NULL, xyz = NULL, crosshairs = TRUE)
ggortho_base()
ggortho_slice_df(slice_df, slice_overlay_df = NULL, crosshairs = TRUE)
img | object that can be coerced to a |
---|---|
overlay | object that can be coerced to a |
xyz | coordinates to be plotted |
crosshairs | should crosshairs be added? |
col | Colors to map intensities for |
col.overlay | Colors to map intensities for |
... | arguments to pass to |
img_df | Image |
overlay_df | Image |
slice_df | Image |
slice_overlay_df | Image |
construct_ggortho
returns a list of the constructed plot,
the full data for the image, the image for the plot and the xyz
coordinate.
ggortho
simply returns the plot
ggortho2
is a duplicate of ggortho
to agree with the
ortho2
of neurobae