getiGraphOBJ: getiGraphOBJ function

Description Usage Arguments Value Examples

View source: R/graphOperation.R

Description

getiGraphOBJ is a support function for converting a dominant-distribution network adjacency matrix to an iGraph object.

Usage

1
getiGraphOBJ(adjMat, sortedGroupList)

Arguments

adjMat

is an adjacency matrix of a dominant-distribution network.

sortedGroupList

is a list of names of categories ascendingly ordered by their means.

Value

This function returns an iGraph object of a dominant-distribution network for a given adjMat.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Generate simulation data with 100 samples per categories

simData<-SimNonNormalDist(nInv=100)

# Performing ordering infernce from simData

resultObj<-EDOIF(simData$Values,simData$Group)

# Get an iGraph object from an adjacency matrix

igraphObj<-getiGraphOBJ(adjMat=resultObj$adjMat,sortedGroupList=resultObj$sortedGroupList)

EDOIF documentation built on March 28, 2021, 9:11 a.m.