plot_fc | R Documentation |
Function to create ggplots of either functional connectivity values or p-value matrices from functions such as test_regress
plot_fc( cov, lims = c(-max(abs(cov)), max(abs(cov))), subgraphs = dimnames(cov)[[1]], p.val = FALSE, p.method = "BH", alpha = 0.05, binary = FALSE, diag = FALSE, log.p = FALSE, starchar = "+", bin.param = list(color = "red", size = 2.5), rect.param = list(alpha = 0, size = 1.25) )
cov |
Matrix of either functional connectivity values or derived p-values. Both covariance and correlation matrices are accepted. |
lims |
Lower and upper bounds to plot. Defaults to being |
subgraphs |
Vector of subgraph labels. Defaults to the input dimension names. |
p.val |
Are the elements p-values? |
p.method |
Method input to p.adjust. One of p.adjust.methods. |
alpha |
p-value threshold. If |
binary |
Threshold the p-values based on specified threshold. |
diag |
Whether to plot diagonal elements. |
log.p |
Apply negative log-transformation to p-values, overridden by
|
starchar |
Which character to use for annotating significant elements. |
bin.param |
List of graphical parameters passed to geom_text |
rect.param |
List of graphical parameters passed to geom_rect |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.