plotGraph {EDOIF}R Documentation

plotGraph function

Description

plotGraph is a support function for plotting a dominant-distribution network from an adjacency matrix.

Usage

plotGraph(obj, rankFlag = TRUE)

Arguments

obj

is an object of EDOIF class that contains the results of ordering inference.

rankFlag

is an option for including ranks of categories with in the plot: default is TRUE for including ranks.

Value

This function returns a list of an object of iGraph for a dominant-distribution network and its plot variable.

graphVar

An object of iGraph for a dominant-distribution network

Examples

# Generate simulation data with 100 samples per categories

simData<-SimNonNormalDist(nInv=100)

# Performing ordering infernce from simData

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

# Plot a dominant-distribution network and return a list of an iGraph object

iGraphList<-plotGraph(obj=resultObj)


[Package EDOIF version 0.1.3 Index]