View source: R/find_switch_pathway.R
Apply hypergeometric test to determine significantly changed pathways and determine the switching timepoint for each pathway
1 2 | phyper_pathway(N, pathways, toplotgl_ptw, sig_FDR = 0.05,
direction = c("up", "down"))
|
N |
expressed genes in pathways |
pathways |
a list of pathways with genes |
toplotgl_ptw |
swiching genes to plot |
sig_FDR |
FDR cut off for significant pathways |
direction |
switching direction, up or down |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.