Description Usage Arguments Value Examples
View source: R/graphOperation.R
getiGraphOBJ is a support function for converting a dominant-distribution network adjacency matrix to an iGraph object.
1 | 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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.