SubgraphSplit: Split subgraphs

Description Usage Arguments Value Author(s) References Examples

View source: R/SubgraphSplit.R

Description

Split subgraphs using walktrap.community algorithm

Usage

1

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.

Value

SubgroupSNPs: list. SNPs in each subgraph of the graph.

Author(s)

Junliang Shang shangjunliang110@163.com

References

None

Examples

1
2
3
4
data(Vertices)
data(Edges)
SubgroupSNPs <- SubgraphSplit(Vertices, Edges)
SubgroupSNPs <- SubgroupSNPs$SubgroupSNPs

CINOEDV documentation built on May 29, 2017, 9:07 p.m.