Plot a functional connectivity matrix.
plot_FC(
FC,
zlim = c(-1, 1),
diag_val = NULL,
title = "FC matrix",
cols = color_palette("Beach"),
cleg_ticks_by = diff(zlim)/2,
cleg_digits = NULL,
labels = NULL,
lines = NULL,
lines_col = "black",
lines_lwd = 1,
cex = 0.8
)The functional connectivity matrix, a square numeric matrix with values between -1 and 1.
The minimum and maximum range of the color scale. Default:
c(-1, 1). If in descending order, the color scale will be reversed.
Set to NA for white, 1, or NULL
(default) to not modify the diagonal values in FC.
(Optional) Plot title.
Character vector of colors for the color scale. Default:
color_palette("Beach").
Spacing between ticks on the color legend. Default:
range(zlim)/2.
How many decimal digits for the color legend. Default:
NULL to set automatically.
A character vector of length length(lines)+1, giving
row/column labels for the submatrices divided by lines. If
NULL (default), do not add labels.
Add lines to divide the FC matrix into submatrices? Default:
NULL (do not draw lines). Set to "all" to delineate each
individual row and column.
Color and line width of the lines. Default:
black lines of width 1.
Text size. Default: 0.8.