powered by
This function plots the connections between nodes in a single subject.
graphNetworkPlot(data, type, main = "Network Plot", labels, groupCounts, groupLabels)
A vector of a single graph.
The type of graph being used (adjmatrix or adjmatrixlt).
The title for the plot.
A vector which contains the names for each node.
A vector which contains the number of nodes in each group of nodes.
A vector which contains the names for each group of nodes.
A plot displaying the connections between the nodes.
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)
Run the code above in your browser using DataLab