getSignificantResultsFDR: Get Significant Results from Object based on the permutation...

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

getSignificantResultsFDRR Documentation

Get Significant Results from Object based on the permutation tests.

Description

This function retrieves results from a propr or propd object keeping only the statistically significant pairs. The significance is determined by the cutoff value for which the false discovery rate (FDR) is less or equal than the given value 'fdr'. The significant pairs are those that have a value greater/less or equal than the cutoff, depending on the metric.

Usage

getSignificantResultsFDR(object, fdr = 0.05, window_size = 1)

getSignificantResultsFDR.propr(object, fdr = 0.05, window_size = 1)

getSignificantResultsFDR.propd(object, fdr = 0.05, window_size = 1)

Arguments

object

A propd or propr object.

fdr

A float value for the false discovery rate. Default is 0.05.

window_size

An integer. Default is 1. When it is greater than 1, the FDR values would be smoothed out by a moving average of the given window size.

Value

A data.frame of results.

Methods

getSignificantResultsFDR.propr: This function retrieves results from a propr object keeping only the statistically significant pairs.

getSignificantResultsFDR.propd: This function retrieves results from a propd object keeping only the statistically significant pairs.


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