View source: R/rampQueryHelper.R
filterEnrichResults | R Documentation |
Filter enrichment results by p-value cutoff for display and clustering
filterEnrichResults(enrichResults, pValType = "fdr", pValCutoff = 0.1)
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 |
enrichResults with the fishresults dataframe filtered based on thresholds set
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.