filterEnrichResults: Filter enrichment results by p-value cutoff for display and...

View source: R/rampQueryHelper.R

filterEnrichResultsR Documentation

Filter enrichment results by p-value cutoff for display and clustering

Description

Filter enrichment results by p-value cutoff for display and clustering

Usage

filterEnrichResults(enrichResults, pValType = "fdr", pValCutoff = 0.1)

Arguments

enrichResults

The data frame generated by runEnrich...

pValType

Specifies which p-value to use as the filter threshold. Permitted values are 'pval' for raw p-value and 'fdr' or 'holm' p-value corrections. Default is 'fdr'.

pValCutoff

return results where pValType p-values are < pValCutoff

Value

enrichResults with the fishresults dataframe filtered based on thresholds set

Examples

## Not run: 
analyteList <- c("MDM2", "TP53", "glutamate", "creatinine")

fisher.results <- runEnrichPathways(analytes = analyteList, namesOrIds = 'names')
filtered.fisher.results <- filterEnrichResults(fisher.results, pValType='fdr', pValCutoff = 0.10)

## End(Not run)

ncats/RaMP-DB documentation built on June 10, 2025, 10:50 a.m.