checkSim3Res: checkSim3Res function

Description Usage Arguments Value Examples

View source: R/SimNonNormalDist.R

Description

checkSim3Res is a support function for checking whether an adjacency matrix of inferred a dominant-distribution network adjMat is corrected w.r.t. generator SimNonNormalDist().

Usage

1
checkSim3Res(adjMat, flag = 0)

Arguments

adjMat

is an adjacency matrix of inferred a dominant-distribution network.

flag

is a flag of matrix. It should be set only to shift the low of matrix for comparison.

Value

This function returns precision, recall, and F1-score of inferred adjacency matrix.

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)

# Compare the inferred adjacency matrix with the ground truth

checkSim3Res(adjMat=resultObj$adjMat)

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