Plots 3D cortical surfaces
plot_surf3d(
surf_data,
surf_color = "grey",
cmap,
limits,
atlas = 1,
hemi = "b",
medial_gap = 0,
orientation_labels = TRUE,
VWR_check = TRUE
)
a plot_ly object
A numeric vector (length of V)
color of the cortical surface. Set to 'grey'
by default
A string vector containing 2 to 4 color names/codes specifying the colors to be used for the color scale. See RColorBrewer::display.brewer.all()
for all possible cmap options. If none are specified, appropriate colors will be automatically selected according to range(surf_data)
A combined pair of numeric vector composed of the lower and upper color scale limits of the plot. When left unspecified, the symmetrical limits c(-max(abs(surf_dat),max(abs(surf_dat)))
will be used.
atlas used for identifying region labels. 1=Desikan, 2=Destrieux-148, 3=Glasser-360, 4=Schaefer-100, 5=Schaefer-200, 6=Schaefer-400. Set to 1
by default. This argument is ignored for hippocampal surfaces.
A string specifying the hemisphere to plot. Possible values are l
(left), r
(right) or b
(both).
A numeric value specifying the amount of gap (in MNI coordinate units) to separate the left and right hemispheres. Set to 0
(no gap between hemispheres) by default. In order to view the medial surfaces clearly, it is recommended that this value is set to 20
. This argument is ignored if hemi!='b'
A boolean object specifying if orientation labels are to be displayed. Set to TRUE
by default
A boolean object specifying whether to check and validate system requirements. Default is TRUE.
surf_data = runif(20484);
plot_surf3d(surf_data = surf_data, VWR_check=FALSE)
Run the code above in your browser using DataLab