Description Usage Arguments Value Author(s) Examples
View source: R/graphNetworkPlot.R
This function plots the connections between nodes in a single subject.
1 | graphNetworkPlot(data, type, main = "Network Plot", labels, groupCounts, groupLabels)
|
data |
A vector of a single graph. |
type |
The type of graph being used (adjmatrix or adjmatrixlt). |
main |
The title for the plot. |
labels |
A vector which contains the names for each node. |
groupCounts |
A vector which contains the number of nodes in each group of nodes. |
groupLabels |
A vector which contains the names for each group of nodes. |
A plot displaying the connections between the nodes.
Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon
1 2 3 4 5 6 7 | data(braingraphs)
main <- "Brain Connections"
gc <- c(5, 5, 4, 6)
gl <- c("Grp1", "Grp2", "Grp3", "Grp4")
graphNetworkPlot(braingraphs[,1], "adjMatrix", main, groupCounts=gc, groupLabels=gl)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.