runGraflex: Permute FDR for Multiple Concepts

View source: R/2d-propd-graflex.R

runGraflexR Documentation

Permute FDR for Multiple Concepts

Description

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

Usage

runGraflex(A, K, p = 500, fixseed = FALSE)

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 overlaps to permute.

fixseed

A logical. If TRUE, the seed is fixed for reproducibility.

Details

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


tpq/propr documentation built on April 21, 2024, 12:50 p.m.