graphNetworkPlot: Graph Network Plots

Description Usage Arguments Value Author(s) Examples

View source: R/graphNetworkPlot.R

Description

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

Usage

1
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

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)

bingat documentation built on May 1, 2019, 9:11 p.m.