View source: R/graphOperation.R
getiGraphOBJ | R Documentation |
getiGraphOBJ is a support function for converting a dominant-distribution network adjacency matrix to an iGraph object.
getiGraphOBJ(adjMat, sortedGroupList)
adjMat |
is an adjacency matrix of a dominant-distribution network. |
sortedGroupList |
is a list of names of categories ascendingly ordered by their means. |
This function returns an iGraph object of a dominant-distribution network for a given adjMat.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.