View source: R/rampQueryHelper.R
FilterFishersResults | R Documentation |
Filter pathways by p-value cutoff for display and clustering
FilterFishersResults(fishers_df, pval_type = "fdr", pval_cutoff = 0.1)
fishers_df |
The data frame generated by runFisherTest |
pval_type |
Specifies which p-value to use as the filter threshold. Permitted values are 'pval' and 'fdr' for chemical class and pathway enrichment. Pathway enrichment also includes an optional 'holm' value for holm p-value corrections. Default is 'fdr'. |
pval_cutoff |
return pathways where pval_type p-values are < pval_cutoff |
list:[[1]]Dataframe with pathway enrichment results, only significant pathways [[2]]analyte type
## Not run:
pkg.globals <- setConnectionToRaMP(
dbname = "ramp2", username = "root",
conpass = "", host = "localhost"
)
analyteList <- c("MDM2", "TP53", "glutamate", "creatinine"),
fisher.results <- runCombinedFisherTest(analytes = analytesList, NamesOrIds = 'names')
filtered.fisher.results <- FilterFishersResults(fisher.results, pval_type='fdr', pval_cutoff = 0.10)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.