plotGraph: plotGraph function

Description Usage Arguments Value Examples

View source: R/plotGraphphics.R

Description

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

Usage

1
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

 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)

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

iGraphList<-plotGraph(obj=resultObj)

EDOIF documentation built on March 28, 2021, 9:11 a.m.