getiGraphOBJ: getiGraphOBJ function

View source: R/graphOperation.R

getiGraphOBJR Documentation

getiGraphOBJ function

Description

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

Usage

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

# 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 June 8, 2025, 9:39 p.m.