getFDR: Calculate Odds Ratio FDR

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

getFDRR Documentation

Calculate Odds Ratio FDR

Description

This function calculates the false discovery rate (FDR) for over- and under-enrichment by counting the number of times the actual OR was greater than (or less than) a permuted OR.

Usage

getFDR(actual, permuted)

Arguments

actual

A result from calculateOR.

permuted

A result from permuteOR.

Value

A data.frame of the FDRs for over- and under- enrichment.


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