Construct complete graph

Share:

Description

This function construct complete graph by using all vertices and edges.

Usage

1
ConstructCompleteGraph(Vertices, Edges, BaseSize = 6, SaveFileName = "")

Arguments

Vertices

matrix. Vertices of constructed graphs, including real vertices and virtual vertices. The first column represents SNP ID or SNP-combination ID. The second column represents effect value. The third column represents the class of vertices, "1" -> real vertice, others -> virtual vertice.

Edges

matrix. Edges of constructed graphs.

BaseSize

numeric. Basic size of vertices in the graph. By default, BaseSize <- 6.

SaveFileName

character. Basic file name for saving figure. By default, SaveFileName <- "".

Value

None

Author(s)

Junliang Shang shangjunliang110@163.com

References

None

Examples

1
2
3
data(Vertices)
data(Edges)
ConstructCompleteGraph(Vertices, Edges, BaseSize = 6, SaveFileName = "")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.