Reference
qdecr_snap
Opens Freeview to take snapshots
On this page
Opens Freeview to take snapshots and compiles them into a plot
Usage
qdecr_snap(
vw,
stack = NULL,
type = c("coef", "se", "t", "p"),
ext = ".tiff",
zoom = 1,
compose = TRUE,
plot_brain = TRUE,
save_plot = TRUE,
sig = TRUE,
...
)Arguments
vwThe output object of a qdecr call (e.g. qdecr_fastlm)
stackEither a numeric or a string for your variable (use
stacks(vw))typeThe type of map to plot (currently for OLS). Default is
coef, others arese,tandpextExtension of the image files that will be stored on disk
zoomFloat that determines how far the brains are zoomed in
composeLogical; if TRUE, a single compiled image will be made (requires Magick++)
plot_brainLogical; if TRUE, returns a graphical device with the composed images
save_plotLogical; if TRUE, saves the composed image
sigLogical; if TRUE, only the significant clusters are shown
...any arguments that freeview (on command line) normally takes for manipulating surface files
Details
This function directly calls Freeview and generates files (by default .tiff) and additionally composes the images and plots them. Magick++ is required for the composing step (see www.qdecr.com).