graphNetworkPlot {bingat}R Documentation

Graph Network Plots

Description

This function plots the connections between nodes in a single subject.

Usage

graphNetworkPlot(data, type, main = "Network Plot", labels, groupCounts, groupLabels)

Arguments

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.

Value

A plot displaying the connections between the nodes.

Author(s)

Terrence Brooks, Berkley Shands, Skye Buckner-Petty, Patricio S. La Rosa, Elena Deych, William D. Shannon

Examples

	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)

[Package bingat version 1.3 Index]