runGraflex: Calculate odds ratio and FDR

View source: R/3-shared-graflex.R

runGraflexR Documentation

Calculate odds ratio and FDR

Description

This function calls graflex for each concept (i.e., column) in the database K.

Usage

runGraflex(A, K, p = 100, ncores = 1)

Arguments

A

An adjacency matrix.

K

A knowledge database where each row is a graph node and each column is a concept.

p

An integer. The number of permutation.

Details

For each concept, this function calculates the odds ratio and determines the false discovery rate (FDR) by counting the number of the actual OR was greater or less than a permuted OR.


tpq/propr documentation built on Feb. 3, 2025, 4:23 a.m.