Learn R Programming

EDOIF (version 0.1.3)

getiGraphOBJ: getiGraphOBJ function

Description

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

Usage

getiGraphOBJ(adjMat, sortedGroupList)

Value

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

Arguments

adjMat

is an adjacency matrix of a dominant-distribution network.

sortedGroupList

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

Examples

Run this code
# 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)

Run the code above in your browser using DataLab