Learn R Programming

EDOIF (version 0.1.3)

checkSim3Res: checkSim3Res function

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

checkSim3Res(adjMat, flag = 0)

Value

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

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.

Examples

Run this code
# 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)

Run the code above in your browser using DataLab